Question VBA code named 'Database1' not the database name

DNewman

Registered User.
Local time
Today, 06:38
Joined
Oct 12, 2012
Messages
60
Hi.
I have upgraded a number of databases from Access2000 to Access2010 (yes, quite a jump!)
I did this, each time, by creating a blank database in 2010 and copying my objects into it. To my surprise (!) this has gone remarkably well - most of my time has been taken up with replacing Activex controls by the corresponding features in Access 2010.
The one oddly worrying feature of just two databases is that the code window shows 'Database 1' rather than the actual database name.
Should this worry me?
If so, how can I rename the VBA code to the database name?:confused:
 
Go into the VBA window and right click on the "Project Name", which would be 'Database 1' and select PROPERTIES. You can change the name there.
 
Oh, and additionally it is BEST to IMPORT all objects into your database and not copy and paste (in case you didn't do the Import method). You can have it use the correct name in the VBA project if you save your database with the proper name first in another folder and then import.
 

Users who are viewing this thread

Back
Top Bottom