There's nothing built into Access to allow this to be automated. You can
use a third party library or code like our PDF and Mail Library for Access,
(which requires that you have one of the supported printer drivers on your
machine,) to output a PDF file with as little code as:
Dim objPDF as New PDFClass
With objPDF
.ReportName = "MyReport"
.ReportWhere = "[CustomerID]= " & SomeValue
.OutputFile = "c:\some dir\some file.pdf"
.PDFEngine = 2 'Adobe PDF or Distiller
.PrintImage
End With
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.