With Access 2010, I use the following to print to pdf:
DoCmd.OutputTo acOutputReport, strReportName, acFormatPDF, FolderPath & "\" & strReportCommonName & ".pdf", False, , , acExportQualityPrint
How can I add a filter (where) to the above to limit the records in the report
If I am not printing to pdf I use:
DoCmd.OpenReport strReportName, optReportOutput, , Wclause
I need something simillar!
Thanks
DoCmd.OutputTo acOutputReport, strReportName, acFormatPDF, FolderPath & "\" & strReportCommonName & ".pdf", False, , , acExportQualityPrint
How can I add a filter (where) to the above to limit the records in the report
If I am not printing to pdf I use:
DoCmd.OpenReport strReportName, optReportOutput, , Wclause
I need something simillar!
Thanks