Re: How to createa nd display list elements for a combo box at runtime?
From: preeti <shwethanrao_at_gmail.com>
Date: 17 Nov 2005 19:53:32 -0800
Message-ID: <1132286012.546814.7920_at_g49g2000cwa.googlegroups.com>
Date: 17 Nov 2005 19:53:32 -0800
Message-ID: <1132286012.546814.7920_at_g49g2000cwa.googlegroups.com>
- i am using oracle 10g form builder. [Quoted]
- I am using record group.
[Quoted] In the when_new_form_instance trigger, I have put the following code.
declare
rg_name varchar2(40):='r_area_record1';
rg_id Recordgroup;
LIST_ID ITEM;
errcode NUMBER;
begin
rg_id:=Find_Group(rg_name);
if Id_null(rg_id)then
rg_id :=Create_group_from_query(rg_name,
'select research_area from research_info
where proff_id= 9');
LIST_ID:=FIND_ITEM('TRY_BLOCK.TRY');
end if;
errcode:=populate_group(rg_id);
POPULATE_LIST(LIST_ID,RG_ID);
end;
When I run the form, I am not getting any errors, but it is not displaying the list.
Please let me know if you need any further details.
Thank you Received on Fri Nov 18 2005 - 04:53:32 CET