Hi All,
Let's say the current value stored in a recordset for a field value is "D".
THen I have a dropdown box that has the following values
<%
Response.Write "<SELECT NAME=cmbTest>"
Response.Write "<OPTION> A </OPTION>"
Response.Write "<OPTION> B </OPTION>"
Response.Write "<OPTION> C </OPTION>"
Response.Write "<OPTION> D </OPTION>"
Response.Write "<OPTION> E </OPTION>"
Response.Write "</SELECT>"
%>
Let's say when i load up the form I want to show "D" as the default selected value. However using the SELECTED tag seem to create another entry in the dropdown box.
Any ideas?
Let's say the current value stored in a recordset for a field value is "D".
THen I have a dropdown box that has the following values
<%
Response.Write "<SELECT NAME=cmbTest>"
Response.Write "<OPTION> A </OPTION>"
Response.Write "<OPTION> B </OPTION>"
Response.Write "<OPTION> C </OPTION>"
Response.Write "<OPTION> D </OPTION>"
Response.Write "<OPTION> E </OPTION>"
Response.Write "</SELECT>"
%>
Let's say when i load up the form I want to show "D" as the default selected value. However using the SELECTED tag seem to create another entry in the dropdown box.
Any ideas?