B
BenL712
I am trying to write some code to let a user select a file on a network
location by browsing to it. I need to store the file path in a table field
(memo or text). I have been using the code suggested here
http://www.mvps.org/access/api/api0003.htm to get the UNC path, and the code
from the Access 2003 help system to get the file path (with drive letter). I
was attempting to just concatenate the file path starting at the 3rd
character to the UNC path, but unfortunately it appears that I cannot
concatenate anything to the UNC path. I've tried everything I can think of,
from just using a Trim() function to finding the first blank character
(Chr(32)) and taking everything to the left of that position to using
multiple string variables. Nothing so far has worked. Any help with this is
greatly appreciated!
location by browsing to it. I need to store the file path in a table field
(memo or text). I have been using the code suggested here
http://www.mvps.org/access/api/api0003.htm to get the UNC path, and the code
from the Access 2003 help system to get the file path (with drive letter). I
was attempting to just concatenate the file path starting at the 3rd
character to the UNC path, but unfortunately it appears that I cannot
concatenate anything to the UNC path. I've tried everything I can think of,
from just using a Trim() function to finding the first blank character
(Chr(32)) and taking everything to the left of that position to using
multiple string variables. Nothing so far has worked. Any help with this is
greatly appreciated!