Information Message

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
 
F

fredg

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top