Listitem not populating correctly [message #266145] |
Mon, 10 September 2007 00:42 |
mylapuram
Messages: 8 Registered: April 2007 Location: Bangalore
|
Junior Member |
|
|
Hi ,
I am using D2k(Forms 6.0). I am trying to populate the list dynamically. but i am getting only one item in the listbox even though my record group contains more than one item. i am giving my code here. pls correct me if i am wrong .
declare
rg_id RecordGroup;
list_id ITEM;
BEGIN
list_id:= find_item('V_LIST');
clear_list(list_id);
if :text1 ='Fruits' then
rg_id := find_group ('RG_FRUITS');
else
rg_id := find_group ('RG_VEG');
END if;
populate_list (list_id, rg_id);
end;
I have created two record groups ('RG_FRUITS','RG_VEG') and both has more than one item.
Thanks in advance
|
|
|
|