A script-enabled browser is required for this page to function properly.

GET_LIST_ELEMENT_VALUE Built-in

Description

Returns the value associated with the specified list item element.

Syntax

FUNCTION GET_LIST_ELEMENT_VALUE
(list_id ITEM,
list_index
NUMBER);

FUNCTION GET_LIST_ELEMENT_VALUE
(list_name VARCHAR2,
list_index
NUMBER);

Built-in Type unrestricted function

Returns VARCHAR2

Enter Query Mode yes

Parameters

list_id 
 
Specifies the unique ID that Oracle Forms assigns when it creates the list item. Use the FIND_ITEM Built-in to return the ID to an appropriately typed variable. The data type of the ID is ITEM.
 
list_name 
 
The name you gave to the list item when you created it. The data type of the name is VARCHAR2.
 
list_index 
 
Specifies the list index value. The list index is 1 based. It will return a string containing the value of the requested element. If the index is greater than the count of elements in the list, GET_LIST_ELEMENT_VALUE will fail.

GET_LIST_ELEMENT_VALUE Examples

/*

** Built-in: GET_LIST_ELEMENT_VALUE
** Example: See GET_LIST_ELEMENT_COUNT
*/