K
Kevin Sprinkel
The following code is executed by pressing a command
button on a form to display a report filtered for the
current record. The report displays data from various
subforms.
If there is no data in the subforms to display, the user
sees two message boxes. I'd like to display a more user-
friendly message. The user sees:
"No data meets selection criteria."
and
"The OpenReport Action was canceled."
the latter of which is the result of the MsgBox call.
Can anyone tell me how avoid displaying the first message,
freeing me to display a custom message?
Kevin Sprinkel
button on a form to display a report filtered for the
current record. The report displays data from various
subforms.
If there is no data in the subforms to display, the user
sees two message boxes. I'd like to display a more user-
friendly message. The user sees:
"No data meets selection criteria."
and
"The OpenReport Action was canceled."
the latter of which is the result of the MsgBox call.
Can anyone tell me how avoid displaying the first message,
freeing me to display a custom message?
Kevin Sprinkel