Guest_imported
New member
- Jan 1, 1970
- 0
I have two forms which have two identical drop down boxes. The drop down boxes contains US states.
On form1 I have the following codes:
<select name="cboCountry" size="1">
<% set rs = oConn.execute("select distinct State from tbl_Comp"
Do While not Rs.eof %>
<option value="<% =Rs("State"%>"> </option>
<% Rs.movenext %>
<% Loop %>
On form2 I have the same loop. What I'd like to do is when the user chooses a state on form1, i.e. CA, the CA will appear on the drop down box on form2. Can you guys help?
Thanks.
On form1 I have the following codes:
<select name="cboCountry" size="1">
<% set rs = oConn.execute("select distinct State from tbl_Comp"
Do While not Rs.eof %>
<option value="<% =Rs("State"%>"> </option>
<% Rs.movenext %>
<% Loop %>
On form2 I have the same loop. What I'd like to do is when the user chooses a state on form1, i.e. CA, the CA will appear on the drop down box on form2. Can you guys help?
Thanks.