I
ITperson
Hello
I deal with a db that has many linked tables. Because the db is live and
constantly being used, I make no direct changes to the live db environment.
There are 3 dbs (temp, data, hist).
All dbs are protected by a workgroup login (via access not by OS).
For my test environment, I change the paths for the linked tables to reflect
my local copy of the dbs.
After making changes to my dbs, I copy the main file to the server where the
end users then download a copy locally where the paths of the linked tables
should be reflected properly.
However, because there are hundreds of linked tables (lots to each of the 3
dbs and with different paths), it is very time consuming to go in and
manually update the links. I need to go through the list of hundreds of
tables and check all the tables for 1 db name, then update the links, then do
the same for the other 2 dbs.
Is there a way using vba that I can just run some code that will look for
the name of the db (ex: *data, *hist, *temp) and change the path for each of
them based on the db file name string? (hist, data, temp)
Thank you so much
Terry
I deal with a db that has many linked tables. Because the db is live and
constantly being used, I make no direct changes to the live db environment.
There are 3 dbs (temp, data, hist).
All dbs are protected by a workgroup login (via access not by OS).
For my test environment, I change the paths for the linked tables to reflect
my local copy of the dbs.
After making changes to my dbs, I copy the main file to the server where the
end users then download a copy locally where the paths of the linked tables
should be reflected properly.
However, because there are hundreds of linked tables (lots to each of the 3
dbs and with different paths), it is very time consuming to go in and
manually update the links. I need to go through the list of hundreds of
tables and check all the tables for 1 db name, then update the links, then do
the same for the other 2 dbs.
Is there a way using vba that I can just run some code that will look for
the name of the db (ex: *data, *hist, *temp) and change the path for each of
them based on the db file name string? (hist, data, temp)
Thank you so much
Terry