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

Description<br />

Returns the value associated with the specified list item element.<br />

Syntax<br />

FUNCTION GET_LIST_ELEMENT_VALUE<br />

(list_id ITEM,<br />

list_index NUMBER);<br />

FUNCTION GET_LIST_ELEMENT_VALUE<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. It will return a<br />

string containing the value of the requested element. If the index is greater<br />

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

will fail.<br />

GET_LIST_ELEMENT_VALUE examples<br />

/*<br />

** Built-in: GET_LIST_ELEMENT_VALUE<br />

** Example: See GET_LIST_ELEMENT_COUNT<br />

*/<br />

201

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

Saved successfully!

Ooh no, something went wrong!