Link/Open a pdf file from an Access Form

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
 
D

Dirk Goldgar

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top