B
Brian
When my users click the "Print" button, it runs VBA code as such:
DoCmd.OpenReport ReportName, acViewPreview, , , acWindowNormal
On Error Resume Next
DoCmd.SelectObject acReport, ReportName
DoCmd.RunCommand acCmdPrint
DoCmd.Close acReport, ReportName, acSaveNo
What is wrong with this code that would make Access print the form on the
screen as opposed to the report sitting in the background in Preview???
Thanks for anyone's help!
DoCmd.OpenReport ReportName, acViewPreview, , , acWindowNormal
On Error Resume Next
DoCmd.SelectObject acReport, ReportName
DoCmd.RunCommand acCmdPrint
DoCmd.Close acReport, ReportName, acSaveNo
What is wrong with this code that would make Access print the form on the
screen as opposed to the report sitting in the background in Preview???
Thanks for anyone's help!