Please try trunk version (you appear to be using an older version). If the problem persists open a google code ticket about this.
massimo On Monday, 9 April 2012 01:45:50 UTC-5, Annet wrote: > > Massimo, > > Thanks for your reply. I like the solution, however, it results in the > following ticket: > > Traceback (most recent call last): > File "/Library/Python/2.5/site-packages/web2py/gluon/restricted.py", line > 205, in restricted > exec ccode in environment > File > "/Library/Python/2.5/site-packages/web2py/applications/bootstrap/controllers/addressbook.py" > > <http://127.0.0.1:8000/admin/default/edit/bootstrap/controllers/addressbook.py>, > line 45, in <module> > File "/Library/Python/2.5/site-packages/web2py/gluon/globals.py", line 173, > in <lambda> > self._caller = lambda f: f() > File > "/Library/Python/2.5/site-packages/web2py/applications/bootstrap/controllers/addressbook.py" > > <http://127.0.0.1:8000/admin/default/edit/bootstrap/controllers/addressbook.py>, > line 26, in index > > grid=SQLFORM.grid(query,fields=fields,orderby=orderby,sortable=False,create=False,deletable=False,editable=False,searchable=False,paginate=12) > File "/Library/Python/2.5/site-packages/web2py/gluon/sqlhtml.py", line > 1515, in grid > field_id = tables[0]._id > IndexError: list index out of range > > > > Kind regards, > > Annet >

