Viewing Acrobat (PDF) within Forms - best practices

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

Guest

Hi all,

Using Access 2003 - I have a form that I wish to use to view Adobe Acrobat
(any PDF) docs. I built one using the Adobe Acrobat Control for ActiveX. I
have two questions.

1 - I figured out that the "scr" variable is the path to the PDF you want to
view, but I want to be able to make this dynamic. How can I bind this to a
field on the form?

2 - Is this the way I should be doing this? I really want to be able to
view PDF files from within the form, but I'm not finding much about it on
these newsgroups or google. Is there anything wrong with this approach?

TIA

Aaron G
Philadelphia, PA
 
Aaron said:
Hi all,

Using Access 2003 - I have a form that I wish to use to view Adobe
Acrobat (any PDF) docs. I built one using the Adobe Acrobat Control
for ActiveX. I have two questions.

1 - I figured out that the "scr" variable is the path to the PDF you
want to view, but I want to be able to make this dynamic. How can I
bind this to a field on the form?

2 - Is this the way I should be doing this? I really want to be able
to view PDF files from within the form, but I'm not finding much
about it on these newsgroups or google. Is there anything wrong with
this approach?

While you might be able to make it work (I played with this a bit myself a
while back) the Adobe ActiveX control is only intended (and supported) when
used to display pdfs within a web browser. Given that, you might run into
any number of problems that have no work-around when attempting to use the
control in an Access form.
 
Rick,

Thanks... it didn't seem kosher since I couldn't find much on it... any
suggestions then? Would it be possible to slap a microsoft browser window on
a form and embed it in there somehow? What about some kind of shell window
on the form?

Thanks again.

Aaron G
Philadelphia, PA
 
Aaron said:
Rick,

Thanks... it didn't seem kosher since I couldn't find much on it...
any suggestions then? Would it be possible to slap a microsoft
browser window on a form and embed it in there somehow? What about
some kind of shell window on the form?

Have you tried just setting the src property in the form's current event?
 
Back
Top