PDF's

  • Thread starter Thread starter Garry
  • Start date Start date
G

Garry

Am linking a single page PDF to access 2003 via OLE

Unchecked the view as icon

Item displays as icon !

And when sent to the printer only prints the icon !

Have tried converting PDF to earlier versions 6, 5 and 4

Anyone have any idea what is going on

regards Garry
 
Garry:

To display a PDF file within Access:

1.) You can only do it on a form; reports do not support display of PDF
documents (even using the control below).
2.) Rather than embed or link an OLE object, add the Adobe Acrobat Control
for Active X to a form., Then using src property of that control, specify
the path to the original PDF file. (or use the .Load method of the control
to load a specific file). Simply store the path the file in your db.

From there you can print the PDF from within the form by adding code like
this to a command button:

Dim objPDF As Object
Set objPDF = Me.Pdf0 'Name of the PDF control on your form
With objPDF
.PrintAll 'prints direct without the dialog
'.Print 'will display the print dialog
End With
End Sub

HTH
 
Back
Top