Can someone tell me why this is not working. I am trying to have the previous selected department be the selected choice in the drop down but it does not seem to like it. For some reason I have gone blank. I blame it on the short week this week (in the US anyway sorry everybody else).
<% WHILE NOT RS.EOF %>
<option value="<%=RS("DepartmentID"
%>"
this part does not seem to work
<%if RS("DepartmentID"
= department then %>selected
<%end if%>>
<%=RS("DepartmentName"
%></option>
<%
RS.MoveNext
Wend
%> AJ
I would lose my head if it wasn't attached.![[roll1] [roll1] [roll1]](/data/assets/smilies/roll1.gif)
<% WHILE NOT RS.EOF %>
<option value="<%=RS("DepartmentID"
this part does not seem to work
<%if RS("DepartmentID"
<%end if%>>
<%=RS("DepartmentName"
<%
RS.MoveNext
Wend
%> AJ
I would lose my head if it wasn't attached.
![[roll1] [roll1] [roll1]](/data/assets/smilies/roll1.gif)