Home » Developer & Programmer » Forms » combo box... blank?
combo box... blank? [message #81565] Mon, 03 March 2003 09:45 Go to next message
kim
Messages: 116
Registered: December 2001
Senior Member
i am getting a blank in the botton of my combo box when i populate it. is there a way to get rid of this? here is my code.

PROCEDURE get_cat1 IS

cat_desc nsmp.tr_cat1.cat1_desc%type;
loop_var NUMBER;
cat1 NUMBER;

cursor C1 is
select cat1_desc from nsmp.tr_cat1
order by cat1_desc;

begin

OPEN C1;
loop_var := 0;
LOOP
FETCH C1 INTO cat_desc;
EXIT WHEN C1 %NOTFOUND or c1 %notfound is null;

loop_var := loop_var + 1;
add_list_element('catlist',loop_var,cat_desc,cat_desc);

END LOOP;
CLOSE C1;

END;
Re: combo box... blank? [message #81575 is a reply to message #81565] Tue, 04 March 2003 02:31 Go to previous messageGo to next message
sameer_am2002
Messages: 129
Registered: September 2002
Senior Member
Why dont u use Record Group to populate the list.
Re: combo box... blank? [message #81581 is a reply to message #81565] Tue, 04 March 2003 06:19 Go to previous messageGo to next message
kim
Messages: 116
Registered: December 2001
Senior Member
thank you... do i create the record group and then use populate_list?
Re: combo box... blank? [message #81599 is a reply to message #81565] Tue, 04 March 2003 23:37 Go to previous message
sameer_am2002
Messages: 129
Registered: September 2002
Senior Member
Yes create the recordgroup dynamically or statically
and populate the list.
Previous Topic: Running Forms6i on WEB
Next Topic: Query regarding Form Designer/runtime
Goto Forum:
  


Current Time: Wed Jun 26 12:45:59 CDT 2024