This is the code for the select menu. It all work okay. The
problem is that I need to determine the selection value later in an
if statement so I can change code based on the selection. No matter
what sytax I use to reference the selection box, I get an error:
Expected Then. Please someone help!!
<select name="id<% = rs("ProductId")%>selectcolor"
id="selectcolor" onChange="colorchoice">
<%
While (NOT rscolors.EOF)
%>
<% if Left(Request.Querystring("maingroup"), 1)= "A"
then%>
<option
value="<%=(rscolors.Fields.Item("ColorSuffix").Value)%>"
selected><%=(rscolors.Fields.Item("Color").Value)%></option>
<%elseIF rscolors("ColorSuffix") < 49 Then%>
<option
value="<%=(rscolors.Fields.Item("ColorSuffix").Value)%>"><%=(rscolors.Fields.Item("Color").Value)%></option>
<%else%>
<%end if %>
<% rscolors.MoveNext()%>
<%Wend
</select>