I have an Access 2003 application that has a PRINT button. The clicked event code is:
strReport = "Preview Timesheet"
DoCmd.OpenReport strReport, acViewPreview
DoCmd.PrintOut
DoCmd.Close acReport, "Preview Timesheet", acSaveNo
This works for me, but when my client runs it, it pops a SAVE AS dialog box for a document imaging document. What do I need to change? TY
strReport = "Preview Timesheet"
DoCmd.OpenReport strReport, acViewPreview
DoCmd.PrintOut
DoCmd.Close acReport, "Preview Timesheet", acSaveNo
This works for me, but when my client runs it, it pops a SAVE AS dialog box for a document imaging document. What do I need to change? TY