> I think you meant:
> <cfloop query="myQuery">
>   <if currentrow MOD 2>
>     all row one data
>   <cfelse>
>     all row two data (or is that backwards? ;)
>   </cfif>
> </cfloop>


But this will still give him this problem....

record1         record2
record3         record4


The way I do this is my to use startrow and maxrows something like:

For column 1
--------------------------------
startrow = 1
maxrow = myrecord.recordcount/2

For column 2
--------------------------------
startrow = (myrecord.recordcount/2)+1
maxrows = myrecord.recordcount

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237219
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to