At 05:40 PM 2/9/2011, Dennis McGrath wrote:

Is there a command I can use in a report eep to totally abort
the report if need be?
There is an error condition I would like to trap, especially
in design mode, where I want preview to stop NOW.

Here' how you achieve your specific goal in R:BASE eXtreme 9.1:

PROPERTY REPORT CANCEL TRUE
RETURN

This allows the ability to prevent a report from printing. The
specific code must be added to a report's "On Before Generate"
EEP, then the print process will be aborted exactly after.

You may also implement the same routine, on demand, based on
a pre-defined ERROR variable.

For more details and examples, please refer to R:Docs 9.1.

Very Best R:egards,

Razzak.


Reply via email to