K
Karen
I have a report that prompts for recipient name. I have a msg that "There's
no data." in the on no data event of my report.
I put a command button (through the wizard) on my form to open the report.
However, when there's no data, I get two messages: the one above as well as
the "Open rpt action was cancelled" mesage.
I tried to put code to handle the error in the command button's error event
(as earlier recommended by Ken Sheridan) but there's no "On Error" event
listed on the even tab of the button's properties. As a matter of fact, none
of the commands that I have on the form, have this option.
Please advise on how to get rid of this second error message. Thanks in
advance.
no data." in the on no data event of my report.
I put a command button (through the wizard) on my form to open the report.
However, when there's no data, I get two messages: the one above as well as
the "Open rpt action was cancelled" mesage.
I tried to put code to handle the error in the command button's error event
(as earlier recommended by Ken Sheridan) but there's no "On Error" event
listed on the even tab of the button's properties. As a matter of fact, none
of the commands that I have on the form, have this option.
Please advise on how to get rid of this second error message. Thanks in
advance.