Use something like
#iif query_name.currentrow mod 3, "</td></tr><tr><td>",""#
in you loop or cfoutput.
When it reaches the 3rd record it will start a new row in your table.

Regards,

Rob Rusher

Spectra Architect, Certified ColdFusion Instructor + Developer, Certified
Java Programmer

(303) 885-7044 Cell
(970) 472-1775  Fax
[EMAIL PROTECTED]

[EMAIL PROTECTED]
http://www.flarenetworks.com


plan, build and integrate interactive applications and e-business services
to enhance knowledge sharing, e-commerce and business communications
initiatives
 

> -----Original Message-----
> From: Jim Watkins [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 13, 2001 7:06 PM
> To: CF-Talk
> Subject: Displaying iacross page
> 
> 
> Currently the following code displays in a narrow long table on the left
> side of page. as in:
> blah
> blah
> blah
> 
>  Is it possible to display this info across and down the page.as in:
> blah   blah   blah
> blah   blah   blah
> 
> <CFOUTPUT Query="badgrade" group="lname">
> <br>
> <font size="3"> <b> #lname#, #fname#</font></b>
> <table border="0" width="auto">
> <TR>
> <TD align="center" bgcolor="A7DAFF"><b><font size="2">Course</TD>
> <TD align="center" bgcolor="A7DAFF"><b><font size="2">CRN</TD>
> <TD align="center" bgcolor="A7DAFF"><b><font size="2">Grade</TD>
> </B>
> </TR>
> <TR>
> <CFOUTPUT>
> <td><font size="2">#ssbsect_subj_code# #ssbsect_crse_numb#</TD>
> <td><font size="2">#sfrstcr_crn#</TD>
> <td><font size="2"><center>#grades#</center></TD>
> </TR>
> </CFOUTPUT>
> </TABLE>
> </CFOUTPUT>
> 
> Jim Watkins
> http://www.ngtcollege.org
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to