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.

The following table illustrates the effect on record, block, and form status of changes to base table items<br />

and control item in base table and control blocks.<br />

Type of<br />

Block/Type of<br />

Item Changed<br />

In a Base Table<br />

Block: Change a<br />

Base Table Item<br />

In a Base Table<br />

Block:Change a<br />

Base Table Item<br />

In a Base Table<br />

Block:Change a<br />

Control Item<br />

...and no record<br />

in current block<br />

is changed<br />

...and no block<br />

in current form<br />

is changed<br />

In a Base Table<br />

Block: Change a<br />

Control Item<br />

In a Control<br />

Block: Change<br />

a Control Item<br />

...and no record<br />

in current block<br />

is changed<br />

...and no block<br />

in current form<br />

is changed<br />

Note:<br />

216<br />

Record<br />

Status<br />

Before<br />

Change<br />

Record<br />

Status<br />

After<br />

Change<br />

Block<br />

Status<br />

<strong>Form</strong><br />

Status<br />

NEW INSERT CHANGED CHANGED<br />

QUERY CHANGED CHANGED CHANGED<br />

QUERY QUERY <br />

QUERY QUERY <br />

QUERY QUERY QUERY<br />

NEW INSERT <br />

NEW INSERT <br />

INSERT QUERY <br />

INSERT QUERY QUERY<br />

In general, any assignment to a database item will change a record’s status from QUERY to CHANGED<br />

(or from NEW to INSERT), even if the value being assigned is the same as the previous value. Passing<br />

an item to a procedure as OUT or IN OUT parameter counts as an assignment to it.<br />

Both GET_RECORD_PROPERTY and the system variable SYSTEM.RECORD_STATUS return the<br />

status of a record in a given block, and in most cases, they return the same status. However, there are<br />

specific cases in which the results may differ.

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

Saved successfully!

Ooh no, something went wrong!