Code:
DoCmd.OutputTo acOutputReport, "Breakdown Hourly", acFormatPDF, "Hourly Breakdown - " & Format(Now, "hh:mm") & ".pdf", True, "", acExportQualityPrint
What is wrong with this code? Each time I push the button it shows the popup for microseconds, then does nothing. If I reduce it to:
Code:
DoCmd.OutputTo acOutputReport, "Breakdown Hourly", acFormatPDF, "Hourly Breakdown.pdf", True, "", acExportQualityPrint
I have no problem at all. I've also used "Time", and "Date", with no luck.