Re: Forms PopupList

From: Bobster <bob.bain_at_terra-nova.e-mail.com>
Date: Mon, 7 Feb 2000 14:19:08 -0000
Message-ID: <uwAn4.212$7R.3049_at_news.colt.net>


While you do need two columns as in the other two posts I think you may also have a typo in your code, look at the Retreive_list statement. You have specified rg_ido which has never been set!!

HTH "immo" <iwetzel_at_gmx.de> wrote in message news:86qbol$r2s$1_at_nnrp1.deja.com...
> Hello
>
> I have try to make a popuplist with Oracle Forms 6 which should be
> filled out by clicking on abutton from the database.
>
> So i have created following trigger
>
> declare
> rg_id RECORDGROUP;
> rg_ido RECORDGROUP;
> errcode NUMBER;
> list_id ITEM:=find_item('SIDLIST');
> begin
> rg_id:=Find_Group('listgroup');
> IF Id_Null(rg_id) Then
> rg_id:=create_group_from_query('listgroup','select s.sid from
> sid s');
> end if;
> rg_id:=Find_Group('listgroup');
> IF not Id_Null(rg_id) Then
> message('record group exists',ACKNOWLEDGE );
> end if;
> errcode := Populate_Group(rg_id);
> Retrieve_list(list_id,rg_ido);
> clear_list(list_id);
> Populate_List(list_id,rg_id);
> end;
>
>
> but i get everytime the error 41334 Invalid record group.
>
> Whats happen ?
>
> Thanks for any suggestion
>
> Immo
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Mon Feb 07 2000 - 15:19:08 CET

Original text of this message