Column Loop (1 Viewer)

mugman17

Registered User.
Local time
Today, 21:30
Joined
Nov 17, 2000
Messages
110
Hello:

I have my results showing now, and I have them looping through a table by row, using this:

<% Do While Not rskg2.EOF %>
and this at the end of the table:
<% rskg2.MoveNext
Loop %>

This is great for one record per row. But I want to do 3 records per row, in 3 columns.

Thanks for any help.
 

Velosai

Registered Headache Cause
Local time
Today, 21:30
Joined
Aug 3, 2007
Messages
38
Use somthing like this

intCount = 0
Do While not rskg2.EOF
intCount = intCount +1
If intCount >2 then
<TR>
End If
<TD>Plug Data in</TD>
If intCount > 2 then
</TR>
intCount = 0
End If
rskg2.MoveNext
Loop
 

Users who are viewing this thread

Top Bottom