Re: [web2py] Re: Compare row objects inside a for... in loop

2013-01-22 Thread Luciano Laporta Podazza
Hi Anthony!, Yes, a friend of mine just gave me the same solution and I can't believe I didn't thought about that :P. Thanks a lot!!! On Tue, Jan 22, 2013 at 11:10 AM, Anthony wrote: > I suppose you could do something like: > > rows = db(query).select() > for i in range(len(rows)-1): > >

[web2py] Re: Compare row objects inside a for... in loop

2013-01-22 Thread Anthony
I suppose you could do something like: rows = db(query).select() for i in range(len(rows)-1): Anthony On Tuesday, January 22, 2013 8:17:10 AM UTC-5, Luciano Laporta Podazza wrote: > > Hello, > > I've been searching a lot about this but couldn't find anything so sorry > for this basic que