![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi all. I had some strange problem before and i created the new table and imported all the objects in it. Now I have a strange compile problem. It is giving me the "Method or data member not found" on the following statement: Me.InvoiceNumber.value = 123 Invoice number is not present as a field on the form but it is present in the forms recordset. There are two things that can let me go by this - use the ME! keyword or replace "Microsoft Office 14 Access Data Object Engine" with DAO 3.6 reference. Old database is working just fine with the "Microsoft Office 14 Access Data Object Engine" reference. What can I do ? P.S. The old database was created in Access 2007, then followed Access 2010 14.0.4734 version (beta) now I bought the Professional version 14.0.4760 and that is when strange things started to happen. Why not add InvoiceNumber to the form and set visible=false? |
#4
| |||
| |||
|
|
Why not add InvoiceNumber to the form and set visible=false? |
#5
| |||
| |||
|
|
There are two things that can let me go by this - use the ME! keyword |
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
|
I reinstalled Access, created new database and imported all over again. I no longer have the Me. problem, but I still have the "Invalid database Object reference". When I copy the database to any other computer I get this error, and I cant do anything until I do "Compact and repair". Since my software uses automatic updating, it is a really big problem for me. |
#9
| |||
| |||
|
|
What happens if you move DAO3.6 ref above the ref for Microsoft Office 14 Access Data Object Engine. Why don't you list your references and the order? |
#10
| |||
| |||
|
|
I just want to find out what changed ? If i use Me! i dont have intellisense or word prediction. I am used to Me. . |
|
What about "Invalid database Object reference" on other computers ? Why it works with DAO 3.6 that is even not in the references in the old database ? It all works in the old database without any change. |
![]() |
| Thread Tools | |
| Display Modes | |
| |