breaking output list into columns in html

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
I have a list that is variable depending on the parent category. Sometimes, it yields 2 results, sometimes it yields 30. I'm wanting to list them out, but when the list is long, it stays all in one column. I was wondering how I can break the results into columns....
 

mooncancook

Platinum Member
May 28, 2003
2,874
50
91
to display in two column (psudo code)

<table>
<tr>
iCol = 1
while not recordset.eof
if iCol > 2 then 'two columns have been written
</tr><tr> 'Start a new row
iCol = 1 'reset column counter
end if
<td>Recordset("Field1")</td>
iCol = iCol + 1
recordset.movenext
end while
</tr>
</table>