Current Directory

S

Shell

In Access 2000, I am running an MDB.

When I execute the command curdir, I always get the location of Access, not
the current mdb. Without making an MDE, haw can I get the directory of the
MDB.
 
D

Douglas J. Steele

Even making an MDE won't change that behaviour.

Realistically, you should never make any assumptions about what curdir will
return. To get the location of the database file itself, use
CurrentProject.Path
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top