I’m writing an updater for an msaccess based application that has several linked .accdb files that could be in various locations on the hard disk. We need to replace older .accdb’s with newer ones periodically, but won’t necessarily know where they are since the customer can move them around.
Since the updater operates outside of the access code, I haven’t found a good way to programatically determine the locations of all linked .accdb files given a front file.
Is the only way to do this from inside msaccess itself? Or does anyone have a more clever way of determining the locations of these files?
Thanks in advance!
Assuming you know
You can query the
MSysObjectstable via ODBC or OleDB e.g.There might also exist an Automation approach but that will depend on what the updater is written in.