bainsteven
Programmer
- Mar 25, 2008
- 2
I have never come across this before - and nor can I find anything ANYWHERE! Hopefully someone here knows about this...
My boss has an MS Access database which compiles fine and works correctly. When I try and compile the database on my laptop it fails as it cannot find certain Controls on some Forms.
Eg: Compile error on "Me.ControlName"
The error exists because (so it seems) that on my boss' implimentation - if the compiler cannot find a Control on a Form - it will search the underlying data to find the corresponding Field name (which works!). All controls are named the same as their underlying data Fields.
Therefore, when I come to compile - the physical Control names on the Form do not exist - but MY compilation fails as Access is NOT looking at the underlying available Fields to the Form.
Has anyone ever seen this before?
I cannot find a setting, registry update, Google answer, or forum discussion!
Many thanks,
Steve.
PS: Currently using MS Access 2007.
My boss has an MS Access database which compiles fine and works correctly. When I try and compile the database on my laptop it fails as it cannot find certain Controls on some Forms.
Eg: Compile error on "Me.ControlName"
The error exists because (so it seems) that on my boss' implimentation - if the compiler cannot find a Control on a Form - it will search the underlying data to find the corresponding Field name (which works!). All controls are named the same as their underlying data Fields.
Therefore, when I come to compile - the physical Control names on the Form do not exist - but MY compilation fails as Access is NOT looking at the underlying available Fields to the Form.
Has anyone ever seen this before?
I cannot find a setting, registry update, Google answer, or forum discussion!
Many thanks,
Steve.
PS: Currently using MS Access 2007.