Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: pl/sql & html select list
tony wrote:
> 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
Like:
<td>
<a href="/pls/demo/">Homepage</a>
</td>
?
-- Regards, Frank van BortelReceived on Fri Feb 14 2003 - 14:16:39 CST
![]() |
![]() |