I have a form which I would to populate a drop down box with some data. Below is the query and part of the form. Currently, it puts each location in a separate drop down. How can I get all the data into one drop down box.
Any help will be greatly appreciated!
Thanks,
Scott
Any help will be greatly appreciated!
Thanks,
Scott
Code:
<cfquery name="getTerminal" datasource="mssqlcf_hibarsky" dbtype="odbc">
select *
from locations
</cfquery>
Code:
<tr>
<td width="35%" align="right">Terminal Name:</td>
<td width="65%" align="left">
<cfoutput query="getTerminal">
<SELECT NAME="A)Terminal_Name" SIZE="1">
<OPTION VALUE="getTerminal">#getTerminal.name#</option>
</cfoutput>
</SELECT>
</td>
</tr>