Guus2005
AWF VIP
- Local time
- Today, 06:26
- Joined
- Jun 26, 2007
- Messages
- 2,642
Odd thing happend to me today,
I upgraded from Acc2010 to Acc2016, still using mdb files, i created an mde file for the customer who runs it in an Acc2010 environment.
I tested it on Acc2010 and it gives me an error message.
"Method 'Name' of object 'Reference' failed"
Which refers to this command:
I didn't write this program, to close a form i always use:
Compiling this code doesn't give me an error on both. Intellisense doesn't complete Me.FormName when you type Me.FormN<ctrl><space>.
I didn't know about Me.FormName but my program is full of it. So probably it meant something in the past.
Does this sound familiair?
About the error, i will try to create an mde in Acc2010 that should get rid of the error. It has always worked like that.
Thx!
I upgraded from Acc2010 to Acc2016, still using mdb files, i created an mde file for the customer who runs it in an Acc2010 environment.
I tested it on Acc2010 and it gives me an error message.
"Method 'Name' of object 'Reference' failed"
Which refers to this command:
Code:
DoCmd.Close acForm, Me.FormName
Code:
DoCmd.Close acForm, Me.Name
I didn't know about Me.FormName but my program is full of it. So probably it meant something in the past.
Does this sound familiair?
About the error, i will try to create an mde in Acc2010 that should get rid of the error. It has always worked like that.
Thx!