Link/Open a pdf file from an Access Form

  • Thread starter Thread starter Aneesh Mohammed
  • Start date Start date
A

Aneesh Mohammed

Hi,

I have database containing the details of files(in pdf format) and their locations. How can i open these files from access form?

reg
aneesh
 
Aneesh Mohammed said:
Hi,

I have database containing the details of files(in pdf format) and their
locations. How can i open these files from access form?


Assuming that you have Adobe Reader, Acrobat, or some other PDF viewer
installed, and the ".pdf" file-extension is mapped to that program, you can
generally follow the file path as a hyperlink using the
Application.FollowHyperlink method. For example:

Application.FollowHyperlink Me!PDFPath

(where "PDFPath" is a control on the form where this line of code is
executed).
 
Back
Top