ezfriend
Registered User.
- Local time
- Today, 11:21
- Joined
- Nov 24, 2006
- Messages
- 242
Here is a scenario that I like to get some opinions from the forum.
We have an Access application (FE) that access some databases from SQL Server Express. All of the databases (tables, views, etc...) are identical with the exception of the data in the tables for different databases.
[Yes, normally, we should use one database to handle all of the cases, but it is not an option]
The Access application is linked to a database to pull information and display on reports. Each time we want to pull data from a different database, we have to manually connect to the database using DSN and then link to the tables. With identical tables and so on, Access starting generating tables with a suffix (table, table1, table2, etc) for the new databases. This is definitely the wrong way to do it.
Question:
We have queries that we want to have it run across multiple databases. Since the tables are identical in all databases, is there an easy way to change the link tables' data source?
I was thinking about using a drop-down box to select a database and then click on a command button to refresh the linked tables' data source (5 of them) using the selected database from the drop-down box.
Any suggestion is greatly appreciated.
Thanks.
EZfriend.
We have an Access application (FE) that access some databases from SQL Server Express. All of the databases (tables, views, etc...) are identical with the exception of the data in the tables for different databases.
[Yes, normally, we should use one database to handle all of the cases, but it is not an option]
The Access application is linked to a database to pull information and display on reports. Each time we want to pull data from a different database, we have to manually connect to the database using DSN and then link to the tables. With identical tables and so on, Access starting generating tables with a suffix (table, table1, table2, etc) for the new databases. This is definitely the wrong way to do it.
Question:
We have queries that we want to have it run across multiple databases. Since the tables are identical in all databases, is there an easy way to change the link tables' data source?
I was thinking about using a drop-down box to select a database and then click on a command button to refresh the linked tables' data source (5 of them) using the selected database from the drop-down box.
Any suggestion is greatly appreciated.
Thanks.
EZfriend.