I'm new to the world of asp so please bear with me.
What I'm doing is populating a combo box with two columns, a period and an ID. The combo box will display the period but store the ID in the tenant table. THIS PART I'VE MANAGED TO DO.
<select name="cboName" size="1">
<%
Do While Not objRS.EOF
%>
<option VALUE="<%=objRS("ID"
%>">
<%=objRS("Desc"
%></option>
<%
objRS.MoveNext
Loop
%>
</SELECT>
My problem is I then want the application to populate another combo box on an update page with the period lookup values and ID's but set the current value and ID to what is stored in the tenant table.
What I'm doing is populating a combo box with two columns, a period and an ID. The combo box will display the period but store the ID in the tenant table. THIS PART I'VE MANAGED TO DO.
<select name="cboName" size="1">
<%
Do While Not objRS.EOF
%>
<option VALUE="<%=objRS("ID"
<%=objRS("Desc"
<%
objRS.MoveNext
Loop
%>
</SELECT>
My problem is I then want the application to populate another combo box on an update page with the period lookup values and ID's but set the current value and ID to what is stored in the tenant table.