Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> pl/sql & html select list
Hi. This is probably more of a html question than Oracle, but here it
is...
I want to build a select list which displays the description field for records from a table but selects the code field.
Is there an alt option or something like it that says "display the description field but return a different field"? Here's what I have now:
htp.print ('<SELECT name=newdesc>');
FOR loop_rec in get_desc_C LOOP
htp.formSelectOption(cvalue=>loop_rec.stvsbgi_desc);
END LOOP;
htp.print ('</SELECT>');
thanks for reading,
tony
Received on Fri Feb 14 2003 - 08:29:49 CST
![]() |
![]() |