OldSlowDog
Programmer
I use the following openform with a criteria:
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly
My question is that I got a blank screen when there is nothing in the DB matching the criteria.
If possible, I like to display a message saying"
Msgbox "No matching Record"
Would some experts show me how to tell such "no matching record" condition in VBA.
Appreciate very much.
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly
My question is that I got a blank screen when there is nothing in the DB matching the criteria.
If possible, I like to display a message saying"
Msgbox "No matching Record"
Would some experts show me how to tell such "no matching record" condition in VBA.
Appreciate very much.