Use the reports NoData event as follows:
Private Sub Report_NoData(Cancel As Integer)
MsgBox "No records to report", vbInformation, "Information"
Cancel = True
End Sub
Yakup
I'm doing this form home so I can't give you any specific code examples but here's the general idea.
The best method I've found is to have your main doc create a lockdoc when it is put into edit mode. Prior to creating the lockdoc, in querymodechange, check for the existance of a lockdoc for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.