Format the file location based on server location no the mapped dr

B

BZeyger

I have code in place that has a user click a button and a select file
location would be entered in a filed named txtLocation based on the selected
record.

The final line of code I have is:
Me.txtLocation = strInputFileName

This works fine but it enters: Z:\FileLlocation\ABC\FileName.PDF

Instead if it entering Z:\FileLocation\ABC in the field, I would like it to
begin with \\ServerName\Filelocation\ABC

Basically, instead of it displaying the location based on the mapping on my
screen, I would like it formatted based on the server location.
 

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