F
Frank B
I used an approach like this to solve a similar problem.
Hard code the server path in a CONST.
In VBA figure out if you are running on a workstation or
on the server. Then, set a variable to properly point to
the DB that contains the tables you want to attach. Then,
in VBA Attach the table (using that variable that contains
the proper path). When you are done, use VBA to detach
the tables and close down.
Frank
Hard code the server path in a CONST.
In VBA figure out if you are running on a workstation or
on the server. Then, set a variable to properly point to
the DB that contains the tables you want to attach. Then,
in VBA Attach the table (using that variable that contains
the proper path). When you are done, use VBA to detach
the tables and close down.
Frank