No problem. Unfortunately, SQLTABLE does not appear to be well documented in the book. You could also leave the call to SQLTABLE in the controller and just add the 'truncate' argument there (and keep {{=records}} in the view), though since it's a display issue, I suppose it makes most sense in the view (that will also enable you to generate other types of views, such as JSON, from the same output). Anthony
On Friday, July 8, 2011 12:29:53 PM UTC-4, Valter Foresto wrote: > Anthony, you are a 'clairvoyant', the controller code is : > > @auth.requires_login() > def current_logs(): > records=SQLTABLE(db().select(db.logs.ALL)) > return dict(records=records) > > ... oops, you say that I need to use DAL Rows object. not SQLTABLE object ! > > Then I suddenly changed the controller using : > records = db(db.logs.id>0).select() > ... and all works fine ! > > It is evident that I'm a beginner with web2py, sorry and may thanks ! > -- Valter > >