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.

Lock Record property<br />

Description<br />

Specifies that <strong>Form</strong> <strong>Builder</strong> should attempt to lock the row in the database that corresponds to the current<br />

record in the block whenever the text item’s value is modified, either by the end user or<br />

programmatically.<br />

Applies to text item<br />

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

Refer to Built-in<br />

• GET_ITEM_PROPERTY<br />

• SET_ITEM_PROPERTY<br />

Default<br />

No<br />

Usage Notes<br />

• Set this property to Yes when the text item is a control item (an item not associated with a base table<br />

column), but you still want <strong>Form</strong> <strong>Builder</strong> to lock the row in the database that corresponds to the<br />

current record in the block.<br />

• Useful for lookup text items where locking underlying record is required.<br />

• To set the Lock Record property with SET_ITEM_PROPERTY, use the constant<br />

LOCK_RECORD_ON_CHANGE.<br />

Lock Record restrictions<br />

Valid only when the item is a control item (Base Table Item property set to No) in a data block.<br />

95

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

Saved successfully!

Ooh no, something went wrong!