Heh. Nothing better than a correction that isn't a correction at all, neh?

You could use that code to have alternate colored rows tho... :P

My bad. Shoulda looked closer.

On 4/7/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
>
> > 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:237229
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