Hi,
I am using the on no data code:
Private Sub Report_NoData(Cancel As Integer)
MsgBox ("There is no data for the report."
, , "Message Alert"
Cancel = True
End Sub
This works fine but after they get my message an access message 'The open report action was cancelled' also pops up. I think they can deal with just one message, so how do I get rid of the access message.
Thanks
Lisa
I am using the on no data code:
Private Sub Report_NoData(Cancel As Integer)
MsgBox ("There is no data for the report."
Cancel = True
End Sub
This works fine but after they get my message an access message 'The open report action was cancelled' also pops up. I think they can deal with just one message, so how do I get rid of the access message.
Thanks
Lisa