Dynamic table linking to different geograpic db with same tables

G

Guest

I have several Access 2002 databases that have the same structure/tables/queries etc. Each is named differently according to geographic area. I have a common database for reporting purposes that contains links to each respective geographic database. One copy of the reporting database contains links to one geographic database. I currently need one copy of the reporting database for each geographic database because the links are different. I would like to create the links dynamically using VBA code so that the modied links can be used by Queries and Reports in the reporting database. In other words, the result of the VBA code should be seen in the Linked Table Manager window by selecting the menu item: Tools/Database Utilities/Linked Table Manager.

Is this possible?
 
M

Marshall Barton

Bob said:
I have several Access 2002 databases that have the same structure/tables/queries etc. Each is named differently according to geographic area. I have a common database for reporting purposes that contains links to each respective geographic database. One copy of the reporting database contains links to one geographic database. I currently need one copy of the reporting database for each geographic database because the links are different. I would like to create the links dynamically using VBA code so that the modied links can be used by Queries and Reports in the reporting database. In other words, the result of the VBA code should be seen in the Linked Table Manager window by selecting the menu item: Tools/Database Utilities/Linked Table Manager.


This should give you some ideas about hhow to do it:

http://www.mvps.org/access/tables/tbl0009.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top