Cheers for the reply guys,
Can comfirm the dropdown does have a name, "intReasonClaimingHomeless",
a bit messy below but if you copy and paste you will be able to see it.
The first control somehow is changing data at the backend, the second
which I added chages nothing.
<tr>
<td width="33%" align="center">
<select name="intSpecialNeeds" tabindex="22" class = "inputStyle"
tabindex = 22 ID="Select22">
<%
if rsExistingDecision.BOF and rsExistingDecision.EOF then
rsSpecialNeeds.Movefirst
Do while NOT rsSpecialNeeds.EOF
if (rsSpecialNeeds("GroupID_tgr") = 0) then
response.write "<option value = '" &
rsSpecialNeeds("GroupID_tgr") & "' Selected>" &
rsSpecialNeeds("GroupName_tgr")& "</OPTION>"
else
response.write "<option value = '" &
rsSpecialNeeds("GroupID_tgr") & "' >" &
rsSpecialNeeds("GroupName_tgr")& "</OPTION>"
end if
rsSpecialNeeds.MoveNext
loop
else
response.write "<option value = " &
rsExistingDecision("GroupID_tgr") & " Selected>" &
rsExistingDecision("GroupName_tgr") & "</OPTION>"
rsSpecialNeeds.Movefirst
Do while NOT rsSpecialNeeds.EOF
response.write "<option value = " & rsSpecialNeeds("GroupID_tgr")
& ">" & rsSpecialNeeds("GroupName_tgr") & "</OPTION>"
rsSpecialNeeds.MoveNext
loop
end if
%>
</select>
</td>
<td width="33%" align="center">
<select name="intReasonClaimingHomeless" tabindex="23" class
= "inputStyle" tabindex = 23 ID="Select43">
<%
Response.Write "<option>" & strshowblank &"</option>"
if rsExistingDecision.BOF and rsExistingDecision.EOF then
rsReasonClaimingHomeless.Movefirst
Do while NOT rsReasonClaimingHomeless.EOF
response.write "<option value = '" &
rsReasonClaimingHomeless("ReasonClaimingHomelessID_rch") & "' >" &
rsReasonClaimingHomeless("ReasonClaimingHomeless_rch")& "</OPTION>"
rsReasonClaimingHomeless.MoveNext
loop
else
response.write "<option value = " &
rsExistingDecision("ReasonClaimingHomelessID_rch") & " Selected>" &
rsExistingDecision("ReasonClaimingHomeless_rch") & "</OPTION>"
rsReasonClaimingHomeless.Movefirst
Do while NOT rsReasonClaimingHomeless.EOF
response.write "<option value = " &
rsReasonClaimingHomeless("ReasonClaimingHomelessID_rch") & ">" &
rsReasonClaimingHomeless("ReasonClaimingHomeless_rch") & "</OPTION>"
rsReasonClaimingHomeless.MoveNext
loop
end if
%>
</select>
</td>
Again any help much I appreciated, I just cant get me head around how
data from the first control is getting posted to the database?
Regards
Ross