I use mod to do this...
 
<table>
              <tr> 
<cfoutput query="getReviews">
                <td> 
             #UCase(cusername)#<br>(#cpassword#)                       
     
<cfif (currentRow mod 4) eq 0>
              </tr>
              <tr> 
</cfif>
</cfoutput>
              </tr>
        </table>
 
 
 
 
 
 
 
 
 


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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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

Reply via email to