Alan has it right on.
You don't get true "columns" in a <SELECT> pull down, like you do in VB controls,
however, if one of your columns is of reliable width, or if you format it so that it
will be (a date, for example), you should put that column first, so that it emulates a
column, and the second column will fall into place.
Sometimes I use the bar character ( | ) to separate the fields.
<SELECT name="SquidSelector">
<CFLOOP query="squid">
<OPTION value="#squid.SquidID#">
#DateFormat(squid.DateCaught, "mm/dd/yyyy")# | #squid.Description#
</OPTION>
</CFLOOP>
</SELECT>
At 01:47 PM 11/21/00 -0900, McCollough, Alan wrote:
><CFSELECT name="foo">
><CFLOOP query="squid">
><OPTION value="#squid.field1#">#squid.field2##squid.field3#</OPTION>
></CFLOOP>
></CFSELECT>
>
>Alan McCollough
>Web Programmer
>Allaire Certified ColdFusion Developer
>Alaska Native Medical Center
>
>> -----Original Message-----
>> From: Keiichi Miyata [SMTP:[EMAIL PROTECTED]]
>> Sent: Tuesday, November 21, 2000 12:56 PM
>> To: Fusebox
>> Subject: question on cfselect
>>
>> I have a question.
>> Is it possible to display 2 fields in "Display" of "cfselect" attribute?
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Structure your ColdFusion code with Fusebox. Get the official book at
>> http://www.fusionauthority.com/bkinfo.cfm
>>
>> Archives: http://www.mail-archive.com/[email protected]/
>> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Structure your ColdFusion code with Fusebox. Get the official book at
>http://www.fusionauthority.com/bkinfo.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
====================================================
Douglas M. Smith - Database Architect/Web Integration Specialist
====================================================
TERATECH, INC. - TOOLS FOR PROGRAMMERS(tm)
VisualBasic, Web (ColdFusion and ASP), Math and Statistics,
Access, SQL, programming tools & consulting
100 Park Ave, Suite 360, Rockville MD 20850 USA
Voice: 301-424-3903, Fax: 301-762-8185
http://www.teratech.com
====================================================
Email: [EMAIL PROTECTED]
Mobil/Cell Phone: (240) 601-5520
ICQ: 41044319
====================================================
Do you need a group calendar or scheduler?
How about a free ColdFusion Tag and Function Reference?
Go to http://www.teratech.com/freestuff.cfm
====================================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists