|
|
|
|
|
|
|
Re: Changing Record group for LOV at runtime [message #534770 is a reply to message #362770] |
Thu, 08 December 2011 23:28 ![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) |
swapnil_naik
Messages: 269 Registered: December 2009 Location: Mumbai
|
Senior Member |
![swapnilnaik](/forum/theme/orafaq/images/skype.png)
|
|
I m doing same what u suggest but still my lov show first record group (RG1) values when i run form
My code like this :
-------------------
lov1 : SELECT id,first_name,city FROM EMPLOYEE
RG1 : SELECT id,first_name,city FROM EMPLOYEE
RG2 : SELECT ID,FIRST_NAME,LAST_NAME FROM EMPLOYEE
MY CODE :
----------
DECLARE
lov_id LOV;
status BOOLEAN ;
BEGIN
lov_id := Find_LOV('LOV1');
IF Get_LOV_Property(lov_id,GROUP_NAME) = 'RG1' THEN
Set_LOV_Property(lov_id,GROUP_NAME,'RG2');
message('1');
message('1');
END IF;
status := show_lov(lov_id);
END;
But it still shows RG1 query... what should i do ...
|
|
|
|
|
|
Re: Changing Record group for LOV at runtime [message #534989 is a reply to message #534935] |
Sat, 10 December 2011 19:51 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
If you're changing the columns being selected it would sensible to change the LOV rather than the record group.
Otherwise the LOV is going to display with a column called city that contains last_name - are you sure that's not what's happening?
|
|
|