Code to find drive letter

B

Bob Valentine

Group:

I need help with writing code to find the drive letter of the drive where my
database application (.mde file) is located. Most users will be installing
my application on their C: drives, but others may install it on another
drive, such as their D: drive. Is there a function that can determine the
drive letter where the database file is located?

Thanks,
BobV
 
S

Stefan Hoffmann

hi Bob,

Bob said:
I need help with writing code to find the drive letter of the drive where my
database application (.mde file) is located. Most users will be installing
my application on their C: drives, but others may install it on another
drive, such as their D: drive. Is there a function that can determine the
drive letter where the database file is located?
Use CurrentDb.Name.


mfG
--> stefan <--
 

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