Using Access 2000
I have the following code on the Page event of a 2 page report. Page 2 is forced by a page break in the report.
This does exactly what I want in Print mode. But I do not want the message box, and print to pause, in Preview mode.
Is there code I can add to suppress the message box in Preview mode? Or different code I can use for this?
Tom
I have the following code on the Page event of a 2 page report. Page 2 is forced by a page break in the report.
Code:
Private Sub Report_Page()
If Me.Page > 1 Then
Call MsgBox(" Please turn paper over" _
& vbCrLf & "and press OK to print page 2." _
, vbExclamation, "Pause printing")
End If
End Sub
This does exactly what I want in Print mode. But I do not want the message box, and print to pause, in Preview mode.
Is there code I can add to suppress the message box in Preview mode? Or different code I can use for this?
Tom