D
Don
Hello - I am using the OnNoData event to display message
box saying " No Data matches selection" when no data is
available. Here is my code...
Private Sub Report_NoData(Cancel As Integer)
MsgBox "No Data matches selection", vbOKOnly, "No Data"
Cancel = True
End Sub
When I run the report and there is no data, the message
box appears. After I click okay, a microsoft message box
appears saying "The OpenReport action was canceled" My
question is how do I get rid of this extra Message box?
Thank
DW
box saying " No Data matches selection" when no data is
available. Here is my code...
Private Sub Report_NoData(Cancel As Integer)
MsgBox "No Data matches selection", vbOKOnly, "No Data"
Cancel = True
End Sub
When I run the report and there is no data, the message
box appears. After I click okay, a microsoft message box
appears saying "The OpenReport action was canceled" My
question is how do I get rid of this extra Message box?
Thank
DW