Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Path

Status
Not open for further replies.

prizm

Programmer
Jul 19, 2004
5
US
Using Access97, I am trying to set up folders (with MkDir) within the same folder as the Database. The users of this database cross servers so using CurDir only provides the path of the user's FileSystem. How can I find the path where the database is? Thanks.
 
Dim dbsCurrent As DAO.Database
Fim strTmp As String

Set dbsCurrent = CurrentDb()
strTmp = dbsCurrent.Name

yoy need a reference to DAO to use above

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top