![]() Previous |
![]() Next |
Use this function to display an item as text, but save its value to session state.
Syntax
APEX_ITEM.DISPLAY_AND_SAVE(
p_idx IN NUMBER,
p_value IN VARCHAR2 DEFAULT NULL,
p_item_id IN VARCHAR2 DEFAULT NULL,
p_item_label IN VARCHAR2 DEFAULT NULL)
RETURN VARCHAR2;
Parameters
Table: DISPLAY_AND_SAVE Parameters describes the parameters available in the DISPLAY_AND_SAVE function.
DISPLAY_AND_SAVE Parameters
| Parameter | Description |
|---|---|
|
|
Number that determines which |
|
|
Current value |
|
|
HTML attribute ID for the |
|
|
Invisible label created for the item |
Example
The following example demonstrates how to use the APEX_ITEM.DISPLAY_AND_SAVE function.
SELECT APEX_ITEM.DISPLAY_AND_SAVE(10,empno) c FROM emp