P
PayeDoc
Hello All
I have a number of reports with the OnNoData event set to Cancel = True.
Normally these reports are opened individually via individual buttons on a
form, and where there is no data for a report it simply doesn't open - which
is fine. I also have a complex procedure, however, which is fired from
another button, and which ends by attempting to open the above-mentioned
reports: but in this case the Cancel = True event seems not to work
properly, in that I get a message (2501) about the open event being
cancelled. This is a real irritation, as the users need to click OK every
time - and frequently ask me/eachother what it means!
Is there a way of cancelling the error 2501 message?
Hope someone can help.
Many thanks
Leslie Isaacs
I have a number of reports with the OnNoData event set to Cancel = True.
Normally these reports are opened individually via individual buttons on a
form, and where there is no data for a report it simply doesn't open - which
is fine. I also have a complex procedure, however, which is fired from
another button, and which ends by attempting to open the above-mentioned
reports: but in this case the Cancel = True event seems not to work
properly, in that I get a message (2501) about the open event being
cancelled. This is a real irritation, as the users need to click OK every
time - and frequently ask me/eachother what it means!
Is there a way of cancelling the error 2501 message?
Hope someone can help.
Many thanks
Leslie Isaacs