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.

On-Update trigger<br />

Description<br />

Fires during the Post and Commit Transactions process while updating a record. Specifically, it fires<br />

after the Pre-Update trigger fires and before the Post-Update trigger fires, when <strong>Form</strong> <strong>Builder</strong> would<br />

normally update a record in the database. It fires once for each row that is marked for update in the<br />

form.<br />

Definition Level form or block<br />

Legal Commands<br />

SELECT statements, DML statements (DELETE, INSERT, UPDATE), unrestricted built-ins<br />

Enter Query Mode no<br />

Usage Notes<br />

Use an On-Update trigger to replace the default <strong>Form</strong> <strong>Builder</strong> processing for handling updated records<br />

during transaction posting.<br />

To perform the default <strong>Form</strong> <strong>Builder</strong> processing from this trigger, include a call to the<br />

UPDATE_RECORD built-in.<br />

On Failure<br />

<strong>Form</strong> <strong>Builder</strong> performs the following steps when the On-Update trigger fails:<br />

• sets the error location<br />

• rolls back to the most recently issued savepoint<br />

Fires In<br />

Post and Commit Transactions<br />

See Process Flowcharts<br />

460

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

Saved successfully!

Ooh no, something went wrong!