Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rest of the feilds are Gone, except Customers now

Status
Not open for further replies.

LinuxGuy

Programmer
Nov 18, 2002
37
0
0
US
WHy are they Gone??


</tr>
<tr>
<td bgcolor=&quot;#3366CC&quot;><strong><font color=&quot;#FFFFFF&quot;><font size=&quot;-1&quot;>Customer</font>&nbsp;</font></strong></td>
<td bgcolor=&quot;#999999&quot;><font size=&quot;2&quot;>&nbsp; </font><font color=&quot;#999999&quot; size=&quot;-1&quot;>&nbsp;</font><font color=&quot;#666666&quot;><strong><font size=&quot;2&quot;>

<select type=&quot;text&quot; name=&quot;x_Customer&quot; value=&quot;X_Customer&quot;>
<%
sql &quot;select Company from Contacts&quot;
If Not rs.EOF Then
Do Until rs.EOF %>
<option value=&quot;<%=rs(&quot;Company&quot;)%>&quot;><%=rs(&quot;Company&quot;)%>&quot;></option>
<% rs.MoveNext
Loop
End If
rs.Close
%>
</select>
</font></strong></font><font color=&quot;#999999&quot; size=&quot;-1&quot;>
 
What is this stuff?
<select type=&quot;text&quot; name=&quot;x_Customer&quot; value=&quot;X_Customer&quot;>

<SELECT> doesn't take a type or a value.

Also, you've got some extra quotes & an ending tag that you don't need (see in red)

<option value=&quot;<%=rs(&quot;Company&quot;)%>&quot;><%=rs(&quot;Company&quot;)%>&quot;></option>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top