Help me sort this Out to Grab the Table ("Contacts"
and from the field ("CompanyName"
Insert them into a drop down box
<!--#include file="db.asp"-->
<td bgcolor="#999999"><font color="#999999" size="-1">
<input type="text" name="x_Date_Of_Order" value="<%= x_Date_Of_Order %>">
</font><font color="#999999"> </font></td>
</tr>
<tr>
<td bgcolor="#3366CC"><strong><font color="#FFFFFF"><font size="-1">Customer</font> </font></strong></td>
<td bgcolor="#999999"><font size="2">
'// Below is the unsortted part im needing help with //
<select type="text" name="x_Customer" value="<%= Customer %>">
<%
sql "select CompanyName from Contacts"
while not rs.Eof
%>
<option value="<%=rs("id"
%>"><%=rs("Customer"
%>
<%
rs.MoveNext
when
%>
</select>
<!--#include file="db.asp"-->
<td bgcolor="#999999"><font color="#999999" size="-1">
<input type="text" name="x_Date_Of_Order" value="<%= x_Date_Of_Order %>">
</font><font color="#999999"> </font></td>
</tr>
<tr>
<td bgcolor="#3366CC"><strong><font color="#FFFFFF"><font size="-1">Customer</font> </font></strong></td>
<td bgcolor="#999999"><font size="2">
'// Below is the unsortted part im needing help with //
<select type="text" name="x_Customer" value="<%= Customer %>">
<%
sql "select CompanyName from Contacts"
while not rs.Eof
%>
<option value="<%=rs("id"
<%
rs.MoveNext
when
%>
</select>