Set a number (<cfset count = 1>) and increment it every time the query runs.
Every time the number is equal to 4, set it back to 1 and output a </tr><tr>
Hope that makes sense, too lazy to write code!

Ryan



On 13/1/03 17:00, "Jeremy Bunton" <[EMAIL PROTECTED]> wrote:

> I have an output block that looks like so,
> 
> <tr>
> <td><img src="images/spacer.gif" width="71" height="1" alt=""
> border="0"></td>
> 
> <cfoutput query="getclients">
> <td valign="top" width="26" class="copy"><input class="copy" name="theid"
> type="checkbox" value="#id#"></td>
> <td valign="top" width="200"
> class="copy">#UCase(cusername)#<br>(#cpassword#)</td>
> </cfoutput>
> 
> <td><img src="images/spacer.gif" width="85" height="1" alt=""
> border="0"></td>
> </tr>
> 
> After the <cfoutput> kicks out 4 records I need a new <tr></tr> to be
> created and then show the next 4 records in 4 more <td>'s and so forth
> instead of getting one row with 120 cells in it.  Maybe something with the
> <cfoutputs> on the out side of the <tr> and a loop inside or something.
> 
> JLB
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to