PDF files

GaryBurt

Registered User.
Local time
Yesterday, 16:27
Joined
Apr 10, 2012
Messages
10
I have a table with a hyperlink field that is a relative pathname to a PDF file that I want to display in the form. The database is on the desktop and the path is relative to the desktop. How can I display it? Any help would be appreciated
 
Forgot to mention that I would like a Access 2003 answer, but can go up to 2010.:eek:
 
The answer is the same in all cases. You can't use a relative path. You'll need to concatenate the variable part of the path name in front of the relative part to use the FollowHyperlink Method.

PS, I don't use hyperlink data types for this. This particular datatype is Jet/ACE specific. I just use a string or memo if the paths can be long. I generally keep the relative path or just the file name and concatenate the full path at run time. The FollowHyperlink method doesn't require a hyperlink data type. It works with a text field.
 

Users who are viewing this thread

Back
Top Bottom