I didn't test this exact code. But I've always done something along these lines.
<table>
<cfoutput query="myquery">
<cfif myQuery.currentrow mod 2>
<tr>
<td>#myquery.myData#</td>
<cfelse>
<td>#myquery.myData#</td>
</tr>
</cfif>
</cfoutput>
<cfif query.recordCount mod 2>
<td> </td>
</tr>
</cfif>
</table>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:234880
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5