L
Les
OK.
I got this code from www.mvps.org, and it works great,
however, I don't want to see an error message if there is
no data, and I can't seem to get it to work without the
message. Can anyone tell me what I'm doing wrong?
'************* Code Start *************
Private Sub Report_NoData(Cancel As Integer)
MsgBox "No data found! Closing report."
Cancel = True
End Sub
'************* Code End *************
Thanks!! You guys are the best!
I got this code from www.mvps.org, and it works great,
however, I don't want to see an error message if there is
no data, and I can't seem to get it to work without the
message. Can anyone tell me what I'm doing wrong?
'************* Code Start *************
Private Sub Report_NoData(Cancel As Integer)
MsgBox "No data found! Closing report."
Cancel = True
End Sub
'************* Code End *************
Thanks!! You guys are the best!