V
Virgil
I've got a front end (Access 97 & 2000) that links to
several back end data files (all DAO databases). The front
end's location may change from site to site, so I want to
develop VBA code that will alert the user to reconnect to
each of the sources upon opening the front end splash
screen. I've tried Dev Ashish's method (fRefreshLinks)
found in The Access Web. Great function! But it only works
if all linked tables have the same back end source.
Pulling up the Linked Table Manager (via Docmd.RunCommand)
isn't my best option either because I can't vouch for the
computer savvy of my users. The easiest method for the
user is for them to supply the new location (via a prompt
screen) for each unlinked back end source. I've thought
about building a recordset test for each distinct source.
Upon error, the user would be promted to supply the new
location. Tht method also probably would entail getting
the table definitions for each of my 90+ tables, appending
the table names and source paths into a temp table and
providing a list box (multi-select) of tables to reconnect
for each distinct source.
Just wanted to know if anyone already has a similar
function on how to relink to multiple back ends without
having the user pull up the Linked Table Manager.
several back end data files (all DAO databases). The front
end's location may change from site to site, so I want to
develop VBA code that will alert the user to reconnect to
each of the sources upon opening the front end splash
screen. I've tried Dev Ashish's method (fRefreshLinks)
found in The Access Web. Great function! But it only works
if all linked tables have the same back end source.
Pulling up the Linked Table Manager (via Docmd.RunCommand)
isn't my best option either because I can't vouch for the
computer savvy of my users. The easiest method for the
user is for them to supply the new location (via a prompt
screen) for each unlinked back end source. I've thought
about building a recordset test for each distinct source.
Upon error, the user would be promted to supply the new
location. Tht method also probably would entail getting
the table definitions for each of my 90+ tables, appending
the table names and source paths into a temp table and
providing a list box (multi-select) of tables to reconnect
for each distinct source.
Just wanted to know if anyone already has a similar
function on how to relink to multiple back ends without
having the user pull up the Linked Table Manager.