Moved MDB to Win 7, Date function doesn't work

bulrush

Registered User.
Local time
Today, 18:31
Joined
Sep 1, 2009
Messages
209
I have an A2000 mdb file (not split) which I moved from Win XP to Windows 7 which uses A2003. Now my code gets an error when I try to call the Date function. Error is: "Compile error. Cannot find project or library".

Don't I need to set a reference to a DLL somewhere? I cannot find the References option under Tools (from db window). Do I have to go to a code window? And which DLL to I need to set a reference to?

Thanks.
 
You need to open a Code window to find the Tools References.
Those are the "dll" you are probaly refering to.
The Visual Basic for Applications (VBA) should be checked.
Since you switched versions of Access (and VBA) it probably did not re-link.
 

Users who are viewing this thread

Back
Top Bottom