This mysteriously appeared on my main menu’s OnOpen event! Can anyone work out what it’s doing? Or event better still any ideas how it might have got there?
It's looking up the path to Access tables that are linked from other databases. Seems a bit problematic though since you can have links to more than one external access database.
Have you perhaps borrowed any code from Ian Mayor aka ProgramError on this forum? I say this because he posted the following here quite recently:
Thought this may be useful to someone. I usually work on a copy of the backend tables so I dont do any damage to the original data, but occasionally want to make sure the frontend is working correctly with the original backend data. So things can get confusing. here's a way of displaying the linked table path of the first table.
create a textbox called DBPathTXT on a form.
The code below looks for the first occurance of a table in the system(hidden) tables and returns the back end path it is pointing to in the textbox.
Useful for checking where the linked table manager has linked to the backend tables.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.