Tony, thanks for the pointer...
Wow...am I out of it...
It is breaking at row 1, 3, and 5 instead of 2 4 and 6. Ideas?
Eric
_____
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 11:05 PM
To: CF-Talk
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]
- 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 Practice Re... Les Mizzell
- Re: Sort Order Best Practic... Deanna Schneider
- Re: Sort Order Best Practic... Les Mizzell
- SQL Server Indexing of tables help Rafael Bleiweiss
- RE: Goofy Rows Questions Eric Hoffman
- RE: Goofy Rows Questions Eric Hoffman
- RE: Goofy Rows Questions Tony Weeg
- RE: Goofy Rows Questions Charlie Griefer
- RE: Goofy Rows Questions Pascal Peters