file path

M

MrSteve

Assuming I understand your question:
1)set up a variable with the basic path information, like
dim gPicturePath as string
gPicturePath = "Z:\Folder\subfolder\"

2) set up another variable to use for the complete path,
like:
Dim gFullPath as string

3) collect your picture number like before, and make it
part of the string

gFullPath = gPicturePath & trim(Me.Image4.Picture) & ".bmp"

Use the TRIM function to clean up any JUNK spaces.
Put a Debug.Print gFullPath right after the above line and
check it out to be sure that you are getting the path you
think you want, and don't have a "\\" in there or
something.
 

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