ErrorRaise()

Previous Next

Raises an error in the case of validation actions (Pre-delete, Pre-update Validation, Pre-insert Validation, Pre-close and Post-change(column)). In all other cases it does nothing.

Use ErrorRaise to force an error. To prevent the user from navigating out of a field if some test is not passed on the value entered in the field, write the test in a Decision SQL and use ErrorRaise() in the No Action script.

Syntax

ErrorRaise()

Parameters

None.

NOTE:

If an ErrorRaise() method call has been specified as an element of a method call script, processing is stopped AFTER all methods of the method call script have been executed. In the following example, both messages are shown:

MessageInformation('one')

ErrorRaise()

MessageInformation('two')