PDF Filename

FCVIII

Registered User.
Local time
Today, 03:04
Joined
Jun 13, 2002
Messages
14
I am trying to get the PDF file that I print to be named after the particular invoice that was printed. Any suggestions? Currently it is named after the report no matter which invoice is printed.
 
Not sure if this helps, but not knowing about pdf output here is an example using SnapShot


Path = "C:\MyDocuments\"
TitleName = me.txtBox.Value 'Where txtBox is the name of the box that has the report title

DoCmd.OutputTo acReport, "QueryName", "SnapshotFormat(*.snp)", Path & TitleName & ".snp"


HTH
 

Users who are viewing this thread

Back
Top Bottom