<TABLE><%
DO UNTIL RS.EOF
counter = counter + 1
If counter Mod 2 = 0 then
color = "CCCC99"
Else
color = "CCCC66"
End If
%>
<TR><TDcolor="#<%=color%>"><%=RS("namn")%></TD></TR>
<%
RS.MOVENEXT
LOOP
%>
</TABLE>
eller:
<TABLE><%
DO UNTIL RS.EOF
counter = counter + 1
If counter Mod 2 = 0 then
color = "#CCCC99"
Else
color = "#CCCC66"
End If
%>
<TR><TDcolor="<%=color%>"><%=RS("namn")%></TD></TR>
<%
RS.MOVENEXT
LOOP
%>
</TABLE>