docmd pdf

tubar

Registered User.
Local time
Yesterday, 21:58
Joined
Jul 13, 2006
Messages
190
im trying to use a control source with-in a report to create the file name when exported

Code:
DoCmd.OutputTo acOutputReport, "rptMATRIX", "PDFFormat(*.pdf)", "D:\users\Stagehands\Dropbox\stagehand payroll\billing\" & Report![rptMATRIX]![eventname]!Value & ".pdf", False, "", , acExportQualityPrint
 
This part of the code -& Report![rptMATRIX]![eventname]!Value & ".pdf", is not making the control source the file name. i was wondering if anyone had a suggestion to change the code in any way
 

Users who are viewing this thread

Back
Top Bottom