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.

GET_BLOCK_PROPERTY built-in<br />

Description<br />

Returns information about a specified block. You must issue a call to the built-in once for each property<br />

value you want to retrieve.<br />

Syntax<br />

FUNCTION GET_BLOCK_PROPERTY<br />

(block_id Block,<br />

property NUMBER);<br />

FUNCTION GET_BLOCK_PROPERTY<br />

(block_name VARCHAR2,<br />

property NUMBER);<br />

Built-in Type unrestricted function<br />

Returns VARCHAR2<br />

Enter Query Mode yes<br />

Parameters<br />

block_id The unique ID <strong>Form</strong> <strong>Builder</strong> assigned to the block when you created it.<br />

Datatype is BLOCK.<br />

block_name The name you gave the block when you created it. Datatype is<br />

VARCHAR2.<br />

property Specify one of the following constants to return information about the given<br />

block:<br />

158<br />

ALL_RECORDS Specifies whether all the records matching the query<br />

criteria should be fetched into the data block when a query is executed.<br />

BLOCKSCROLLBAR_X_POS Returns the x position of the block’s<br />

scroll bar as a number specified in the form coordinate units indicated by<br />

the Coordinate System form property.<br />

BLOCKSCROLLBAR_Y_POS Returns the y position of the block’s<br />

scroll bar as a number specified in the form coordinate units indicated by<br />

the Coordinate System form property.<br />

COLUMN_SECURITY Returns the VARCHAR2 value of TRUE if<br />

column security is set to Yes, and the VARCHAR2 string FALSE if it is set<br />

to No.<br />

COORDINATION_STATUS For a block that is a detail block in a<br />

master-detail block relation, this property specifies the coordination status<br />

of the block with respect to its master block(s). Returns the VARCHAR2<br />

value COORDINATED if the block is coordinated with all of its master<br />

blocks. If it is not coordinated with all of its master blocks, the built-in<br />

returns the VARCHAR2 value NON_COORDINATED. Immediately after<br />

records are fetched to the detail block, the status of the detail block is<br />

COORDINATED. When a different record becomes the current record in

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

Saved successfully!

Ooh no, something went wrong!