Displaying pdf's on forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking for a way to display a pdf on an access form.

I have a directory full of order forms that are numbered and a list of them
in a table. I need to display the order form that corresponds wiuth the
record that is being viewed. Any advice on how to do this would be much
appreciated.

Thanks

Shannon
 
On your form, create a Web Browser control (Toolbox | More Controls), then
create a text box or button to execute the code below. In my case, I had PDFs
in a directory and the corresponding field containing the PDF file location
was called Hyperlink, which meant my code looked like this - in the Event
Procedure.

Me.WebBrowser1.Navigate Me.Hyperlink

Hope that helps. My first post to try to answer a question here.
Zadok
 
On your form, create a Web Browser control (Toolbox | More Controls),
then create a text box or button to execute the code below. In my
case, I had PDFs in a directory and the corresponding field containing
the PDF file location was called Hyperlink, which meant my code looked
like this - in the Event Procedure.

Me.WebBrowser1.Navigate Me.Hyperlink

Hope that helps. My first post to try to answer a question here.
Zadok

If I get it right I have to register an OCX. I am using FireFox and have no
clue where to look for the proper file.
 
Back
Top