I would like to display 6 records in row then go to the next row. I would like
to do this without using a table. I would also like to me able to drop the
hyphen - after the 6th record and the last row. I am working with a table now.
I would like to discard the table. Here is my code.
<table border="0">
<tr> <cfoutput query="Recordset2">
<td align="center">
<a href="#Recordset2.BAFilename#?ID=#Recordset2.ID#<cfif
recordset2.tablealign IS
""><cfelse>&tablealign=#Recordset2.tablealign#</cfif><cfif recordset2.colnbr IS
""><cfelse>&colnbr=#Recordset2.colnbr#</cfif><cfif Recordset2.linenbr IS
""><cfelse>&linenbr=#Recordset2.linenbr#</cfif>" <cfif url.ID EQ
#RecordSet2.ID#>style="color:##008062"<cfelse>style="color:##666699"</cfif>>#Rec
ordset2.PortfolioTexT#</a> -
</td>
<cfscript>
if (Recordset2.CurrentRow mod 6 eq 0 AND NOT Recordset2.CurrentRow eq
Recordset2.RecordCount) {
writeoutput("</tr><tr>");
}
</cfscript>
</cfoutput> </tr>
</table>
Kronin555 - 29 Apr 2005 20:32 GMT
<cfoutput query="recordset2">
#whatever#<cfif recordset2.currentrow mod 6 neq 0> - <cfelse><br></cfif>
</cfoutput>
Also, you don't need to crosspost. One post is sufficient.