Hey guys, i dont know what this is called exactly. but i'll try to explain it the best that I can..
When Editing records, i have a few dynamic select boxes..
I have a Status and Resolved or Not fields..
Below is the code to my dynamic STATUS box.. I'd like to set it so that if Status = Closed, then it passes a True (or Yes) value into my Resolved field.
Thanks in Advance
-----------------------------------------------
<select name="Status" id="Status">
<%
While (NOT rs_Status.EOF)
%>
<option value="<%=(rs_Status.Fields.Item("Status"
.Value)%>" <%If (Not isNull((rs_topics.Fields.Item("Status"
.Value))) Then If (CStr(rs_Status.Fields.Item("Status"
.Value) = CStr((rs_topics.Fields.Item("Status"
.Value))) Then Response.Write("SELECTED"
: Response.Write(""
%> ><%=(rs_Status.Fields.Item("Status"
.Value)%></option>
<%
rs_Status.MoveNext()
Wend
If (rs_Status.CursorType > 0) Then
rs_Status.MoveFirst
Else
rs_Status.Requery
End If
%>
</select>
When Editing records, i have a few dynamic select boxes..
I have a Status and Resolved or Not fields..
Below is the code to my dynamic STATUS box.. I'd like to set it so that if Status = Closed, then it passes a True (or Yes) value into my Resolved field.
Thanks in Advance
-----------------------------------------------
<select name="Status" id="Status">
<%
While (NOT rs_Status.EOF)
%>
<option value="<%=(rs_Status.Fields.Item("Status"
<%
rs_Status.MoveNext()
Wend
If (rs_Status.CursorType > 0) Then
rs_Status.MoveFirst
Else
rs_Status.Requery
End If
%>
</select>