I have created a page called history.asp where users can add field values based on combo boxes...that page works great. Next I have created a page called EditHistory.asp, this page is used to edit the information. I want to be able to use combo boxes and preselect the same option that is already in the database. I have placed my code below..however, the select statement does not work.
<Select Name = "Circuit" Size = "1" value="<%=session("Circuit")%>">
<% Do While Not rs.EOF %>
<Option Value = <% =rs("CircuitID")%> Select <%=rsaddcomments("CircuitName")%> > <% =rs("CircuitName")%>
<% rs.MoveNext
Loop %>
</select>
Any help would be great...Thanks
<Select Name = "Circuit" Size = "1" value="<%=session("Circuit")%>">
<% Do While Not rs.EOF %>
<Option Value = <% =rs("CircuitID")%> Select <%=rsaddcomments("CircuitName")%> > <% =rs("CircuitName")%>
<% rs.MoveNext
Loop %>
</select>
Any help would be great...Thanks