Hello Access-Programmers,
I am using Access 2010 and trying to import objects (not tables) from another (closed) .accdb into an open .accdb. I can count the module objects with CurrentProject.AllModules.Count.
I need to read the modules names so I can try to import them using DoCmd.TransferDatabase. I think I will also need to delete existing objects with the same name before I can write the new ones.
In the end, I would like to be able to import Queries, Forms, Reports, Data Access Pages and Macros in addition to Modules.
The immediate question is how to read object (Module) names from an external (Not open) db.
Any help is appreciated
I am using Access 2010 and trying to import objects (not tables) from another (closed) .accdb into an open .accdb. I can count the module objects with CurrentProject.AllModules.Count.
I need to read the modules names so I can try to import them using DoCmd.TransferDatabase. I think I will also need to delete existing objects with the same name before I can write the new ones.
In the end, I would like to be able to import Queries, Forms, Reports, Data Access Pages and Macros in addition to Modules.
The immediate question is how to read object (Module) names from an external (Not open) db.
Any help is appreciated