File Path Name

G

Guest

It's been awhile, but is there a way to find the path name for an Access MDB
app?

Problem:
I have an app that tracks items. Each item has data and pics that appear on
a form. The app is stored in a directory "A" and the pics are stored in
"A\Pics". The form is working (showing different pics per Item) and now I
need to move it to the network.

How can i programmatically change the app path, depending if I move my app
to my local drive, network or take it home, and avoid hard coding it?
 
G

Guest

the path would be:

TheMDBPath = CurrentProject.Path
ThePIXPath = CurrentProject.Path & "\Pics\"
 
G

Guest

That will not work if the data is in a back end database. It returns the
front end 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

Similar Threads


Top