Hi John,
My recommendation is to implement re-linking code, rather than attempt to
use the Linked Table Manager. Access MVP Armen Stein makes his re-linking
code available for free on his web site. Check out the download "J Street
Access Relinker", currently shown as the first download:
http://www.jstreettech.com/cartgenie/pg_developerDownloads.asp
You add a call to the function, in an Autoexec macro, to use this code.
Access 2007 (.accdb file format only) allows one to insert an action into
the Autoexec macro that can allow one to test to see if the folder has been
trusted, so that VBA code is allowed to run. I have a download available that
includes an Access 2007 .accdb file with such an Autoexec macro (borrowed it
from a sample in the Access 2007 book written by John Viescas and Jeff
Conrad). You can find this database sample, with the Autoexec macro, here:
http://www.accessmvp.com/TWickerath/downloads/tmpwrkdb.zip
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________