BrewGuru99
October 6th, 1999, 07:22 PM
How can I find the location of an access database from within the database (like app.path in normal vb)
|
Click to See Complete Forum and Search --> : Where am I? (Locating db within its self) BrewGuru99 October 6th, 1999, 07:22 PM How can I find the location of an access database from within the database (like app.path in normal vb) Lothar Haensler October 7th, 1999, 02:16 AM 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. BrewGuru99 October 7th, 1999, 12:46 PM Just thought I should say that it ended up being <B>CurrentDB.Name</B> and not <B>.Connection</B>. BrewGuru99 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |