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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlinked files moving to new server

Status
Not open for further replies.

annie52

Technical User
Mar 13, 2009
164
US
I have to move my database and external files to a new server. How can I update the path to these linked PDF files in my table? (e.g., J:\123\ABC\SomeFileName.pdf is moving to L:\456\DEF\NewBranchLocation\SomeFileName.pdf)

I expect to use an Update query but can't figure out how to replace just the beginning portion of the hyperlink address. Not all of the filenames are the same length (e.g., J:\123\ABC\SomeFileNameOrOther.pdf) so I can't parse using the Mid function.
 
I'm not sure why I was trying to make this harder than it had to be. A simple Find and Replace did the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top