A script-enabled browser is required for this page to function properly.

Post-Block Trigger

Description

Fires during the Leave the Block process when the focus moves off the current block.

Definition Level form or block

Legal Commands

SELECT statements, unrestricted Built-ins

Enter Query Mode no

Usage Notes

Use a Post-Block trigger to validate the block's current record; that is, the record that had input focus when the Leave the Block event occurred.

Use this trigger to test a condition and prevent the user from leaving a block based on that condition.

On Failure

If the trigger fails while trying to make the form the navigation unit, Oracle Forms tries to set the target to a particular block, record or item. Failing that, Oracle Forms attempts to put the cursor at a target location, but, if the target is outside of the current unit or if the operator indicates an end to the process, Oracle Forms aborts the form.

Fires In

Leave the Block

Post-Block Trigger Restrictions

A Post-Block trigger does not fire when the Validation Unit form document property is set to Form.