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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relative Path

Status
Not open for further replies.

nightjam

Programmer
May 14, 2004
18
JM
How do I get the current path of my access database.

I don't want to type an absolute path like below so how do I get the current path of the database?

strFile = "provider=microsoft.jet.oledb.4.0;data source=C:\data\database.mdb
 
What a life saver.

I tried application.path and looky here there was currentproject all this time.

Many thanks. This is great
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top