|
|
|
Re: How to change LOV Column Mapping Dynamically ? [message #383532 is a reply to message #383491] |
Thu, 29 January 2009 01:47 |
raj2011
Messages: 5 Registered: January 2009 Location: MANAMA
|
Junior Member |
|
|
Hi david,
I have column 1, column 2 column 3 in a form. i created a LOV and record group at design time. I have attached the LOV to column 1, it's working fine.
i want to attach the same LOV to column 2 and column 3, i don't want to create a separate LOV for column 2 and column 3 since the select statement for record group is same.
what i want to do is the return value from the LOV is currently assigned to column 1 , how can i re use the same LOV but it has to point the return value to column 2 and column 3 ?
is it possible ?
Regards
|
|
|
|
|
|
Re: how to change the LOV column mapping dyamically ? [message #383570 is a reply to message #383478] |
Thu, 29 January 2009 03:29 |
ganesh_jadhav0509
Messages: 74 Registered: May 2007 Location: Chester
|
Member |
|
|
One way i think is,
Just create one dummy column assign LOV to that column.
and just write trigger on colmn which you want to show LOV like go_item and list_item and then key_list_item.
Eg.
you have 3 columns in block
col1,col2,col3
and you want to show same lov on col1 and col2 and create one dummy column as dummy1 then just write on when_new_item_instance
go_item('dummy1');
list_values;
then write code on key_list_val to assign the value to col1 or col2.
Regards,
Ganesh Jadhav.
|
|
|