By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,732 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Does access have an application path?

P: n/a
How can I access the application path in access 2000?
curdir shows me the documents abd settings directory.

I want to be able to access the directory where my .mdb is put using code.

Thanks

Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Jim's wife" <ta*****@mindspring.com> wrote in news:6ktPb.52510$OM2.12783228
@news4.srv.hcvlny.cv.net:
I want to be able to access the directory where my .mdb is put using code.


CurrentProject.Path

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #2

P: n/a
I don't have access to a 2000 version to test this right now, but 97 can
use...

Application.SysCmd(acSysCmdAccessDir)
to determine the folder path that msaccess.exe is in.

If you want the path of the database you are working in try reading the Name
property of the CurrentDb object.

Mike Storr
www.veracccess.com

"Jim's wife" <ta*****@mindspring.com> wrote in message
news:6k**********************@news4.srv.hcvlny.cv. net...
How can I access the application path in access 2000?
curdir shows me the documents abd settings directory.

I want to be able to access the directory where my .mdb is put using code.

Thanks

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.