amorosik
Member
- Local time
- Today, 20:49
- Joined
- Apr 18, 2020
- Messages
- 505
I have a procedure created with Access that uses data from a Sql Server db
The Access procedure is the same and can be used with different databases via odbc interface, suppose company1, company2, company N, which are physically different databases on the Sql Server, but with the exact same structure and each one contains the data of the homonymous company
When the operator has to use the program with the data taken from company2 he must perform a relink to the tables as taken from Sql Server db company2
The relink operation, being several hundreds of tables, is quite slow, in the order of 20-30 seconds
The code used to relink tables is similar to the one indicated in this post
The question is: is there a different method for linking tables to different db, in order to switch from Company1 to company2 more quickly?
The Access procedure is the same and can be used with different databases via odbc interface, suppose company1, company2, company N, which are physically different databases on the Sql Server, but with the exact same structure and each one contains the data of the homonymous company
When the operator has to use the program with the data taken from company2 he must perform a relink to the tables as taken from Sql Server db company2
The relink operation, being several hundreds of tables, is quite slow, in the order of 20-30 seconds
The code used to relink tables is similar to the one indicated in this post
The question is: is there a different method for linking tables to different db, in order to switch from Company1 to company2 more quickly?