How to stop a report from printing [screen or printer]
I have a two pass report that calculates some totals. IF the total is zero
or less. the report should not be printed or display in the screen.
How can I control this?
I have tried to call PageLimitReached in the OnEndFirstPass event and still
I see the report being displayed.
(Actually the report displays first and then my breakpoint stops -- the one
in "OnEndFirstPass")
Thanks,
Isi R.
or less. the report should not be printed or display in the screen.
How can I control this?
I have tried to call PageLimitReached in the OnEndFirstPass event and still
I see the report being displayed.
(Actually the report displays first and then my breakpoint stops -- the one
in "OnEndFirstPass")
Thanks,
Isi R.
This discussion has been closed.
Comments
You need to perform this calculation outside of RB, prior to calling
Report.Print.
Simplest solution would be to perform the calculation in a SQL Statement.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com