hello eric.
do this.
in your looping, check to see if the queryname.currentRow mod 2
and if so, add a <tr> and start a new row.
<table>
<tr>
<cfloop query = "yourQuery">
<td></td>
<cfif yourQuery.currentRow mod 2>
</tr>
<cfelse>
<td></td>
</cfif>
</cfloop>
</table>
this should work like a charm, closing the row if its the second one,
making another cell if its not the second one.
and if you wanted to make three of them, just make it mod 3, and so on.
hth
tony
-----Original Message-----
From: Eric Hoffman [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 11:53 PM
To: CF-Talk
Subject: Goofy Rows Questions
This is elementary I am sure, but brain is fried out...
I have some records that need to be displayed left to right, 2 columns
per
row...
So,
Column 1 Column 2
(record 1) (record 2)
(record 3) (record 4)
How do I do something this simple? All the monkey business I am
figuring
out does one long column. *sigh* Why don't they make Jolt cola
anymore???!
Regards,
Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com
_____
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Goofy Rows Questions Eric Hoffman
- RE: Goofy Rows Questions Tony Weeg
- RE: Goofy Rows Questions Tony Weeg
- CF Forum 2000 Ryan Sabir
- Re: CF Forum 2000 jonhall
- RE: CF Forum 2000 Jim Davis
- RE: CF Forum 2000 Adam Wayne Lehman
- RE: CF Forum 2000 Mark A. Kruger - CFG
- RE: CF Forum 2000 Che Vilnonis
- RE: CF Forum 2000 Adam Wayne Lehman
- Re: CF Forum 2000 Jochem van Dieten
- Sort Order Best Practic... Les Mizzell