Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Update Query to copy info from one field to another

Status
Not open for further replies.

keun

Technical User
Jul 15, 2005
262
US
I imported a bunch of data into a table. One field is a bunch of filenames... File001.txt for example.

All the files named are in the same folder.

I created a new field, formatted as hyperlink, and I want to take the date from the filename field and put it in the new hyperlink field, but I need to make sure the hyperlinks point to the path + the file name

for example, the new field will display and link to:

server\folder\File001.txt

THANKS!
 
How about:

Code:
UPDATE tblTable SET [[i]HyperlinkField[/i]] = "[i]\\your\path\[/i]" & [[i]FilenameField[/i]];


-V
 
OK that works. But my hyperlinks are not working. I will make a new post on this second question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top