For a display I want to break my values up so three are displayed per line.
I currently have:
<tr>
<% count = 0
while not rs.EOF
if count /3 =1 then %>
</tr><tr>
<% end if %>
<td><% rs.Fields("Name"
%></td>
<% count = count +1
rs.MoveNext
wend %>
</tr>
which works fine on the first group... but obviously 6/3 = 2
is there a way I can say "if count /3 = whole number" ?
Thanks
I currently have:
<tr>
<% count = 0
while not rs.EOF
if count /3 =1 then %>
</tr><tr>
<% end if %>
<td><% rs.Fields("Name"
<% count = count +1
rs.MoveNext
wend %>
</tr>
which works fine on the first group... but obviously 6/3 = 2
is there a way I can say "if count /3 = whole number" ?
Thanks