S
shank
A while back, someone gave me the below code so when the report was printed
the PDF filename was provided. Works great.
Now I have a totally different database with many reports.
I want the filename to be [Report Caption] in properties & Date formatted
like 121108
Example: Amco Inc 121108.pdf
How do I get that done?
thanks
I tried editing the below, but keep getting syntax errors.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Private Sub Report_Load()
DoCmd.OpenReport "repSelectPO", acViewPreview, , "PO " & Me!PONo
Reports("repSelectPO").Caption = "PO " & Me!PONo
End Sub
the PDF filename was provided. Works great.
Now I have a totally different database with many reports.
I want the filename to be [Report Caption] in properties & Date formatted
like 121108
Example: Amco Inc 121108.pdf
How do I get that done?
thanks
I tried editing the below, but keep getting syntax errors.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Private Sub Report_Load()
DoCmd.OpenReport "repSelectPO", acViewPreview, , "PO " & Me!PONo
Reports("repSelectPO").Caption = "PO " & Me!PONo
End Sub