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-Populate-Details trigger<br />

Description<br />

<strong>Form</strong> <strong>Builder</strong> creates this trigger automatically when a Master/Detail relation is defined. It fires when<br />

<strong>Form</strong> <strong>Builder</strong> would normally need to populate the detail block in a Master/Detail relation.<br />

Definition Level form, block<br />

Legal Commands<br />

SELECT statements, PL/SQL, unrestricted built-ins, restricted built-ins<br />

Enter Query Mode no<br />

Usage Notes<br />

Use an On-Populate-Details trigger when you have established a Master/Detail relationship and you want<br />

to replace the default populate phase of a query.<br />

The On-Populate-Details trigger does not fire unless an On-Clear-Details trigger is present. If you are<br />

using the default Master/Detail functionality, <strong>Form</strong> <strong>Builder</strong> creates the necessary triggers automatically.<br />

However, if you are writing your own Master/Detail logic, be aware that the On-Clear-Details trigger<br />

must be present, even if it contains only the NULL statement.<br />

When Immediate coordination is set, this causes the details of the instantiated master to be populated<br />

immediately. Immediate coordination is the default.<br />

When Deferred coordination is set and this trigger fires, <strong>Form</strong> <strong>Builder</strong> marks the blocks as needing to be<br />

coordinated.<br />

If you intend to manage block coordination yourself, you can call the SET_BLOCK_PROPERTY<br />

(COORDINATION_STATUS) built-in.<br />

On Failure<br />

Can cause an inconsistent state in the form.<br />

Fires In<br />

Master/Detail Coordination<br />

See Process Flowcharts<br />

454

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

Saved successfully!

Ooh no, something went wrong!