Using VB to find database path (1 Viewer)

C

CrazyJay

Guest
I have Access 2000 and have developed a tool to help me make analysis of calls I answer. I have finished the database and then realised I use Access 97 in work. I have managed to get it to a state where the database now operates in 97 with the exception. The following line is not recognised:

strPath = Application.CurrentProject.Path & "\EasyTicket.mdb"

This is not supported in 97. Does anybody know a way to return the relative path of the database so I can use it from any machine in the building. I ahve been unable to locate anything in the Object Browser.

Please help.

Thanks,

Jay.W
 

saleem

Registered User.
Local time
Today, 15:53
Joined
Dec 31, 2001
Messages
20
Hey

I rather asked strange thing from u !!!

I ve been looking for database/program that handles and analyse calls....and u got it..can u please email it to me at

saleem@hoh.net

thanks in advance
 
K

Ken Grubb

Guest
CurrentDb.Name
 

Users who are viewing this thread

Top Bottom