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.
 
Top