A better solution is to try:

<cfset columnCount = 2>
<table>
<cfoutout query="whatever">
<tr>
<td>#whatever.ColumnName#</td>
<cfif whatver.RecordCount MOD columnCount>
</tr><tr>
</cfif>
</tr>
</cfoutput>
</table>

><cfloop query="blah">
>
>Try
>
><cfloop from="1" to="#blah.recordCount#" step="2">
>
>
>You'll have to do something to prevent errors when you have an query
>with an odd number of records and there is no currentRow+1 record for
>the last row.
>
>
>
>Confidentiality Notice:  This message including any
>attachments is for the sole use of the intended
>recipient(s) and may contain confidential and privileged
>information. Any unauthorized review, use, disclosure or
>distribution is prohibited. If you are not the
>intended recipient, please contact the sender and
>delete any copies of this message.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:234878
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to