jose.lopes
New member
- Local time
- Today, 19:20
- Joined
- Apr 28, 2006
- Messages
- 9
Hi
i 'm wearing the report nodata event to cancel the report load when i have no data. I´m using the code below, Howhever after display the msgbox it gives a error msg (image).
Some help please
Private Sub Report_NoData(Cancel As Integer)
MsgBox "XXXXXXXXXXXXXXXX", vbInformation + vbOKOnly, "YYYYYYYYYYY"
Cancel = -1
End Sub
Thanks
i 'm wearing the report nodata event to cancel the report load when i have no data. I´m using the code below, Howhever after display the msgbox it gives a error msg (image).
Some help please
Private Sub Report_NoData(Cancel As Integer)
MsgBox "XXXXXXXXXXXXXXXX", vbInformation + vbOKOnly, "YYYYYYYYYYY"
Cancel = -1
End Sub
Thanks