R
Richard
Hi
I have a command button "print" that opens a new instance of a report and
opens the print dialog (the report don't show) with this code:
On Error Resume Next
Dim rpttemp As Report_Cheque
DoCmd.OpenReport rpttemp, acViewPreview
DoCmd.RunCommand acCmdPrint
DoCmd.Close acReport, rpttemp
Should I assume that the report is closed?
Many thanks in advance
Richard
I have a command button "print" that opens a new instance of a report and
opens the print dialog (the report don't show) with this code:
On Error Resume Next
Dim rpttemp As Report_Cheque
DoCmd.OpenReport rpttemp, acViewPreview
DoCmd.RunCommand acCmdPrint
DoCmd.Close acReport, rpttemp
Should I assume that the report is closed?
Many thanks in advance
Richard