How can I find the location of an access database from within the database (like app.path in normal vb)
Printable View
How can I find the location of an access database from within the database (like app.path in normal vb)
in Access Basic there is a CurrentDB method of the application object. I guess, you could then inspect the Connection property to find out the location of your database.
Just thought I should say that it ended up being <B>CurrentDB.Name</B> and not <B>.Connection</B>.
BrewGuru99