D
Daniel
I am opening a report from a form that prompts for data. When I open the
form and there is no data to display, I have the following code:
Private Sub Report_NoData(Cancel As Integer)
MsgBox "No Data To Display, Please Select Another Zone", vbOKOnly
End Sub
This works except the problem is that it displays the msgbox, and I click
OK, it displays it a second time. The only thing that I can think of is
that the query that the report is bound to has two tables that are related.
Could that be causing the second display of the msgbox?
Any help would be appreciated!!
Daniel
form and there is no data to display, I have the following code:
Private Sub Report_NoData(Cancel As Integer)
MsgBox "No Data To Display, Please Select Another Zone", vbOKOnly
End Sub
This works except the problem is that it displays the msgbox, and I click
OK, it displays it a second time. The only thing that I can think of is
that the query that the report is bound to has two tables that are related.
Could that be causing the second display of the msgbox?
Any help would be appreciated!!
Daniel