Re: LOV_Name in Get_Item_Property

From: Madhu Cherukuri <madhuc_at_hotmail.com>
Date: 23 Oct 1998 22:46:19 GMT
Message-ID: <70r0vr$52i_at_bgtnsc02.worldnet.att.net>


Hi,

Look at the help doc



[Quoted] You can attach an LOV to a text item programmatically with the SET_ITEM_PROPERTY built-in subprogram. The following example attaches the LOV called lov2 to the text item called emp.empno:

Set_Item_Property('emp.empno',LOV_NAME,'lov2');

Conversely, to find out which LOV is attached to a text item, call GET_ITEM_PROPERTY: IF Get_Item_Property('emp.empno',LIST) = 'lov1' THEN

   Set_Item_Property('emp.empno',LIST,'lov2'); END IF; If you need to know whether a text item currently has an LOV attached, you [Quoted] can call GET_ITEM_PROPERTY with the LIST constant:

IF Get_Item_Property('emp.empno',LIST) = 'TRUE' THEN...

Copyright (c) 1994, Oracle Corporation.


This is the doc I found in the forms on-line help (Forms Designer) It's always best to look at the on-line documentaion and it contains all the info you are looking for including examples. You can get the info in a flash!!

HTH Madhu Cherukuri

Ashok Upadhyay wrote in message <36309B94.8CA7E537_at_earthlink.net>...
>I posted this question yesterday but received no comments. Can anybody
>tell me whether it is a valid one but not documented. The question was
>nowhere oracle forms 4.5 manual lists property LOV_NAME with
>Get_Item_Property. Is list_name := Get_Item_Property(Item_name,LOV_NAME)
>is a valid code. It works fine but there is no document whereas
>Documents lists this as a property for Built in Set_Item_Property.
>
>Has anybody tried this? Quick response will be appreciated.
>
>Thanks in adavance
>Ashok
>
Received on Sat Oct 24 1998 - 00:46:19 CEST

Original text of this message