|
|
|
Re: how to create one LOV from more than text item [message #285036 is a reply to message #282922] |
Mon, 03 December 2007 02:52 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
pushpendra.tomar
Messages: 11 Registered: January 2007 Location: Hyderabad
|
Junior Member |
|
|
Hi
If you want to use the same LOV in more than one TEXT ITEM then,
in LOV wizard under "COLUMN DISPLAY" tab's "RETURN VALUE" field,
give the global variable name as
"Global.G_field_name"
You don't need to declare this Global Variable any where else.
Now in your program logic implement this way:
Declare
status boolean;
v_value datatype;
Begin
status = Show_Lov('LOV_NAME');
/*
Show_Lov is a built-in which returns either True or False
based whether you selected some value from LOV or canceled it.
*/
v_value := :Global.G_field_name;
or
:Text_Field_Name := :Global.G_Field_name;
End;
For reference see the screen shot attached.
Best of Luck
Pushpendra [EDITED by LF: removed a large BMP file. Please, read the OraFAQ Forum Guide to learn what kind of images are acceptable. Also, use [code] tabs to improve readability.]
[Updated on: Mon, 03 December 2007 06:05] by Moderator Report message to a moderator
|
|
|
|