Re: How to createa nd display list elements for a combo box at runtime?

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 18 Nov 2005 10:54:24 -0800
Message-ID: <1132340061.151531_at_yasure>


preeti wrote:
> 1) i am using oracle 10g form builder.
> 2) I am using record group.
>
> 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

Please reread what I wrote.

2. Is there an LOV?
3. How are you trying to access the LOV?

Again you make no mention of the LOV. You are loading a record group ... great. But after that, based on what you've posted you've done nothing to display it.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Fri Nov 18 2005 - 19:54:24 CET

Original text of this message