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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

422<br />

New-Item-Instance trigger.<br />

When-New-Item-Instance Perform an action immediately after the input focus<br />

moves to a different item. If the new item is in a<br />

different block, fires after the When-New-Block-<br />

Instance trigger.<br />

Query-time triggers<br />

Query-time triggers fire just before and just after the operator or the application executes a query in a<br />

block.<br />

trigger Typical Usage<br />

Pre-Query Validate the current query criteria or provide additional<br />

query criteria programmatically, just before sending the<br />

SELECT statement to the database.<br />

Post-Query Perform an action after fetching a record, such as looking<br />

up values in other tables based on a value in the current<br />

record. Fires once for each record fetched into the block.<br />

Transactional triggers<br />

Transactional triggers fire in response to a wide variety of events that occur as a form interacts with the<br />

data source.<br />

trigger Typical Usage<br />

On-Delete Replace the default <strong>Form</strong> <strong>Builder</strong> processing for<br />

handling deleted records during transaction posting.<br />

On-Insert Replace the default <strong>Form</strong> <strong>Builder</strong> processing for<br />

handling inserted records during transaction posting.<br />

On-Lock Replace the default <strong>Form</strong> <strong>Builder</strong> processing for<br />

locking rows in the database.<br />

On-Logon Replace the default <strong>Form</strong> <strong>Builder</strong> processing for<br />

connecting to ORACLE, especially for a form that<br />

does not require a database connection or for<br />

connecting to a non-ORACLE data source.<br />

On-Logout Replace the default <strong>Form</strong> <strong>Builder</strong> processing for<br />

logout from ORACLE.<br />

On-Update Replace the default <strong>Form</strong> <strong>Builder</strong> processing for<br />

handling updated records during transaction posting.

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

Saved successfully!

Ooh no, something went wrong!