11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Overview of trigger categories<br />

418<br />

Triggers<br />

This topic provides an overview of commonly used triggers, grouped into the following functional<br />

categories:<br />

block-processing triggers<br />

interface event triggers<br />

master-detail triggers<br />

message-handling triggers<br />

navigational triggers<br />

query-time triggers<br />

transactional triggers<br />

validation triggers<br />

This topic does not list all of the triggers available in <strong>Form</strong> <strong>Builder</strong>, many of which have highly<br />

specialized uses. For a complete list of triggers, or for detailed information on a specific trigger, refer to<br />

the Triggers Category Page.<br />

Block processing triggers<br />

Block processing triggers fire in response to events related to record management in a block.<br />

Trigger Typical Usage<br />

When-Create-Record Perform an action whenever <strong>Form</strong> <strong>Builder</strong> attempts<br />

to create a new record in a block. For example, to<br />

set complex, calculated, or data-driven default<br />

values that must be specified at runtime, rather than<br />

design time.<br />

When-Clear-Block Perform an action whenever <strong>Form</strong> <strong>Builder</strong> flushes<br />

the current block; that is, removes all records from<br />

the block.<br />

When-Database-Record Perform an action whenever <strong>Form</strong> <strong>Builder</strong> changes a<br />

record’s status to Insert or Update, thus indicating<br />

that the record should be processed by the next<br />

COMMIT_FORM operation<br />

When-Remove-Record Perform an action whenever a record is cleared or<br />

deleted. For example, to adjust a running total that<br />

is being calculated for all of the records displayed in<br />

a block.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!