Hi,
I have some reports in my database where i put the following VB code to display a No Data message.
The code works fine but after getting the Message "There is no data to display" The database stops responding.
Can any one please explain me? why the database stops responding ?
Please give me a solution.
Thanks in advance.
I have some reports in my database where i put the following VB code to display a No Data message.
Code:
Private Sub Report_NoData(Cancel As Integer)
MsgBox "There is no data to display", _
vbExclamation, _
"No Records"
Cancel = True
End Sub
Can any one please explain me? why the database stops responding ?
Please give me a solution.
Thanks in advance.
Comment