I have a drop down box that is populated from a SQL Query.
Vendor: <SELECT NAME=cboVendor ID=cboVendor>
<%Do While Not rsVendor.EOF%>
<OPTION VALUE="<%=rsVendor.Fields("Vendor"
%>"><%=rsVendor.Fields("Vendor"
%></OPTION>
<%rsVendor.MoveNext%><%Loop%>
</SELECT>
What I need to do now is specify the default value from another recordset.
rsIndex is a single record in the database. I need rsIndex.Fields("Vendor"
to be the value in the dropdown box when the page loads. Then rsVendor recordset populates the other choices like the above code does. Hope this makes since. Thanks
Vendor: <SELECT NAME=cboVendor ID=cboVendor>
<%Do While Not rsVendor.EOF%>
<OPTION VALUE="<%=rsVendor.Fields("Vendor"
<%rsVendor.MoveNext%><%Loop%>
</SELECT>
What I need to do now is specify the default value from another recordset.
rsIndex is a single record in the database. I need rsIndex.Fields("Vendor"