Hi,
I'm populating a combo box from a SQL Server table using the following code:
<SELECT id=select1 name=cboSector2>
<%Do Until rs.EOF%>
<OPTION><%=rs("Sectorname"%></Option>
<% rs.MoveNext
Loop%>
</SELECT>
My problem is that I want the combo box to show one particular record by default. Anyone know how I can do this?
Thanks in advance. [sig][/sig]
I'm populating a combo box from a SQL Server table using the following code:
<SELECT id=select1 name=cboSector2>
<%Do Until rs.EOF%>
<OPTION><%=rs("Sectorname"%></Option>
<% rs.MoveNext
Loop%>
</SELECT>
My problem is that I want the combo box to show one particular record by default. Anyone know how I can do this?
Thanks in advance. [sig][/sig]