Hi,
I have been looking for the answer to this question for some time and have never found a real solution.
I have a split database, I keep the front end and the back end on a shared area and encourage the users to copy down the front end to their machine to use it.
The problem I have is that, although all have access to the shared drive, the drive letter is often different for different users.
I am constantly asked to go to users machines just to link the tables to the shared back end, its getting tedious.
I am thinking that I could use code similar to this
For drive letters A to X
if len(path to db)<>0 then
link to this path
end if
next drive letter
this code would only ever find 1 database that would match the file path so could work. The problem is I just dont know how to complete the linking procedure as part of a VBA procedure.
Many Thanks
I have been looking for the answer to this question for some time and have never found a real solution.
I have a split database, I keep the front end and the back end on a shared area and encourage the users to copy down the front end to their machine to use it.
The problem I have is that, although all have access to the shared drive, the drive letter is often different for different users.
I am constantly asked to go to users machines just to link the tables to the shared back end, its getting tedious.
I am thinking that I could use code similar to this
For drive letters A to X
if len(path to db)<>0 then
link to this path
end if
next drive letter
this code would only ever find 1 database that would match the file path so could work. The problem is I just dont know how to complete the linking procedure as part of a VBA procedure.
Many Thanks