PC Review


Reply
Thread Tools Rate Thread

Convert Relative Hyperlink path to absolute

 
 
McWolfen
Guest
Posts: n/a
 
      7th Jan 2010
I have a hyperlink field that the user drag's and drops a file into. It seems
to be working fine IF the user pulls from the "Public" sector of their
machine, but all other locations it's pulling a relative path "..\..\". Is
there any way to convert this to an absolute address?
 
Reply With Quote
 
 
 
 
New Member
Join Date: Aug 2011
Posts: 1
 
      9th Aug 2011
It seems that the Access Front end must be local to force absolute path definitions. If it is on the network then it insists on using relative locations (kinda makes sense if you read all the blurb).

I have 'discovered' this by dragging and dropping a file onto a hyperlink field, and then wishing to copy the file in the after_update event. The copy is via FileSystemObjects CopyFile method which always wants absolute paths (of course). My database (2007) was on a network share and always threw 'path not found' for the source file...until I moved it to my PC.

HTH anyone who's been fumbling around looking for a solution
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get absolute path for hyperlink with relative path Paul Microsoft Word Document Management 4 7th Oct 2009 05:14 PM
Script w/relative path that sends absolute path to a folder to theclipboard? StargateFanNotAtHome@mailinator.com Microsoft Outlook VBA Programming 3 24th Mar 2009 01:32 PM
Relative path vs. absolute path possible in storing pictures? StargateFanFromWork Microsoft Access Getting Started 5 2nd Dec 2005 09:29 AM
hyperlink changes address from absolute path to relative =?Utf-8?B?dG55YmVja2Vy?= Microsoft Word Document Management 2 7th Jan 2005 08:35 AM
There are any Path or Directory function to convert an absolute pathto a relative path? Ffelagund Microsoft VC .NET 2 8th Mar 2004 07:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:13 AM.