Information Message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Message: "The OpenReport action was cancelled"

It there a way to turn off this message, when a report action is cancelled.

Thank you
 
Message: "The OpenReport action was cancelled"

It there a way to turn off this message, when a report action is cancelled.

Thank you

That message can be trapped in the event that was used to open the
report.

On Error GoTo Err_Handler
DoCmd.OpenReport "ReportName", acViewPreview
Exit_this_Sub:
Exit Sub
Err_Handler:
If Err = 2501 then
Else
MsgBox "Error #: " & Err.Number & " " & Err.Description
End If
Resume Exit_This_Sub
 
Back
Top