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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GET_RELATION_PROPERTY built-in<br />

Description<br />

Returns the state of the given relation property.<br />

Syntax<br />

FUNCTION GET_RELATION_PROPERTY<br />

(relation_id Relation,<br />

property NUMBER);<br />

FUNCTION GET_RELATION_PROPERTY<br />

(relation_name VARCHAR2,<br />

property NUMBER);<br />

Built-in Type unrestricted function<br />

Returns VARCHAR2<br />

Enter Query Mode yes<br />

Parameters<br />

relation_id Specifies the unique ID <strong>Form</strong> <strong>Builder</strong> assigns when it creates the relation.<br />

Use the FIND_RELATION built-in to return the ID to an appropriately<br />

typed variable. The data type of the ID is Relation.<br />

relation_name Specifies the VARCHAR2 name you gave to the relation when you defined<br />

it, or the name that <strong>Form</strong> <strong>Builder</strong> assigned to the relation when created.<br />

property Specifies the property for which you want the current state. The property<br />

constants you can use are as follows:<br />

218<br />

AUTOQUERY Returns the VARCHAR2 value TRUE if the Automatic<br />

Query relation property is Yes, FALSE if it is No. When the Deferred<br />

relation property is set to Yes, this property determines whether <strong>Form</strong><br />

<strong>Builder</strong> automatically populates the detail block when a different record<br />

becomes the current record in the master block.<br />

DEFERRED_COORDINATION Returns the VARCHAR2 value TRUE<br />

if the Deferred relation property is Yes, FALSE if it is No. This property<br />

determines whether the detail block is to be immediately coordinated with<br />

the current master record, or left clear until the operator navigates to the<br />

detail block.<br />

DETAIL_NAME Returns the VARCHAR2 name of the detail block in the<br />

given master-detail relationship.<br />

MASTER_DELETES Returns one of the following VARCHAR2 values<br />

to indicate the current setting of the block’s Delete Record Behavior<br />

property: NON_ISOLATED, ISOLATED, or CASCADING.<br />

MASTER_NAME Returns the VARCHAR2 name of the master block in<br />

the given master-detail relationship.

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

Saved successfully!

Ooh no, something went wrong!