Get_item_property LOV_NAME return FRM-40738 error [message #311853] |
Mon, 07 April 2008 02:47  |
azadehfar
Messages: 10 Registered: April 2006 Location: iran
|
Junior Member |
|
|
Dear all
Hi
i want when i press double click on each text item show lov
i write a procedure and call in main WHEN-MOUSE-DOUBLECLICK trigger :
PROCEDURE show_lov_button IS
item_name varchar2(50);
canvas_name varchar2(50);
lov_but_name varchar2(50):='DUMMY_BLOCK.LOV_BUT' ;
lov_name varchar2(50);
lov_choose boolean;
BEGIN
item_name:=:SYSTEM.CURSOR_ITEM;
lov_name := get_item_property(item_name,LOV_NAME);
if get_item_property(item_name,ITEM_TYPE)='TEXT ITEM' then
if get_item_property(item_name,DATATYPE)='DATE' then
calendar.show;
elsif lov_name is not null then
lov_choose:=show_lov(lov_name);
end if ;
end if ;
End;
in lov_name := get_item_property(item_name,LOV_NAME); record return me FRM-40738 error .
Please Help me .
Regards
Adel Azadehfar
|
|
|
|
|
|
|
|
Re: Get_item_property LOV_NAME return FRM-40738 error [message #312311 is a reply to message #312276] |
Tue, 08 April 2008 09:15  |
solisdeveloper
Messages: 48 Registered: March 2008 Location: Mexico
|
Member |
|
|
Does it say "List of Values" on the message line at the bottom of your screen when you put the focus on the desired Item? this is a good indicator of whether if your item has a lov attached to it or not at all.
Try this at run time, just place yourself on the Item and check if you get this message.
|
|
|