PathName Declaration

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

My nutshell book isn't helping me out too much.
My "Field1" down below doesn't have the complete pathname
in it. I tried declaring PathName As "C:\PicLibrary", but
I don't know if I have the right syntax in the right
place.
 
Assuming that Field1 contains a file name and that you just need to supply
the path to that file:
Dim strPath As String
strPath = "C:\PicLibrary\"
Kill strPath & rstRecords!Field1


Note that you need a \ character between the path's end and the filename's
beginning.
 

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

Back
Top