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_LIST_ELEMENT_LABEL built-in<br />

Description<br />

Returns information about the requested list element label.<br />

Syntax<br />

FUNCTION GET_LIST_ELEMENT_LABEL<br />

(list_id ITEM,<br />

list_name VARCHAR2,<br />

list_index NUMBER);<br />

FUNCTION GET_LIST_ELEMENT_LABEL<br />

(list_name VARCHAR2,<br />

list_index NUMBER);<br />

Built-in Type unrestricted function<br />

Returns VARCHAR2<br />

Enter Query Mode yes<br />

Parameters<br />

list_id Specifies the unique ID that <strong>Form</strong> <strong>Builder</strong> assigns when it creates the list<br />

item. Use the FIND_ITEM built-in to return the ID to an appropriately<br />

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

list_name The name you gave to the list item when you created it. The data type of<br />

the name is VARCHAR2.<br />

list_index Specifies the list index value. The list index is 1 based. If the index is<br />

greater than the count of elements in the list,<br />

GET_LIST_ELEMENT_LABEL will fail.<br />

Usage Notes<br />

The value associated with a list item element is not necessarily the list item’s current value. That is, the<br />

value of :block.list_item.<br />

GET_LIST_ELEMENT_LABEL examples<br />

200<br />

/*<br />

** Built-in: GET_LIST_ELEMENT_LABEL<br />

** Example: See GET_LIST_ELEMENT_COUNT<br />

*/

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

Saved successfully!

Ooh no, something went wrong!