Hello again, Colleagues All !
Here is the scenario for a little problem I am wrestling with.
The client has a LAN where the backend database sits on a server and each user has a PC where the server appears as drive F:. I do development work remotely and run a copy of the system where the backend is loaded on C:. Two of the managers connect remotely and on their laptops, the server appears as drive Z:. What I need is a VBA editor for the linked tables databases which will automatically amend the drive component of the link depending upon the machine.
I propose to have a table on the front end with a one-field record holding the drive name as text. Then, on startup, the autoexec() subroutine would read the name, modify (or refresh as the case may be) the links and then hand over control to the user. I have some code for refreshing known links, but cannot find anything to actually change thelink specifications.
The front ends distributed to the users are all .mde files, but at present I have to give the managers a .mdb file and then allow them general access to relink the tables themselves. This is, of course, a fairly substantial security issue (not to mention the possibility that, not being techies, they could compromise the system by making mistakes).
Can anybody advise me, please.