I have an Access app I want to distribute to users. Problem is they could put it in any location and my app uses linked tables to two different back end mdbs.
The structure will always be the same with the client in the root folder and the back ends in a data folder one level higher.
I need a VBA code which I can execute at startup that will check if all the linked tables need to be re-linked, and if they do, to try re-linking them to where the back ends should be given that they should always be in a data folder one level up from the client.
Any help would be appreciated.
The structure will always be the same with the client in the root folder and the back ends in a data folder one level higher.
I need a VBA code which I can execute at startup that will check if all the linked tables need to be re-linked, and if they do, to try re-linking them to where the back ends should be given that they should always be in a data folder one level up from the client.
Any help would be appreciated.