Forms PopupList

From: immo <iwetzel_at_gmx.de>
Date: Thu, 27 Jan 2000 21:02:17 GMT
Message-ID: <86qbol$r2s$1_at_nnrp1.deja.com>



Hello

[Quoted] [Quoted] 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 Thu Jan 27 2000 - 22:02:17 CET

Original text of this message