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.

Copy Value from Item property<br />

Description<br />

Specifies the source of the value that <strong>Form</strong> <strong>Builder</strong> uses to populate the item. When you define a masterdetail<br />

relation, <strong>Form</strong> <strong>Builder</strong> sets this property automatically on the foreign key item(s) in the detail<br />

block. In such cases, the Copy Value from Item property names the primary key item in the master block<br />

whose value gets copied to the foreign key item in the detail block whenever a detail record is created or<br />

queried.<br />

Applies to all items except buttons, chart items, and image items<br />

Set <strong>Form</strong> <strong>Builder</strong><br />

Refer to Built-in<br />

GET_ITEM_PROPERTY<br />

Required/Optional optional<br />

Usage Notes<br />

• Specify this property in the form ..<br />

• Setting the Copy Value from Item property does not affect record status at runtime, because the<br />

copying occurs during default record processing.<br />

• To prevent operators from de-enforcing the foreign key relationship, set the Enabled property to No<br />

for the foreign key items.<br />

• To get the Copy Value from Item property programmatically with GET_ITEM_PROPERTY, use<br />

the constant ENFORCE_KEY.<br />

621

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

Saved successfully!

Ooh no, something went wrong!