On 16 November 2011 14:24, Rahul <rahul.dhak...@gmail.com> wrote: > Hi All, > I still get a ticket if I use fields code as mentioned by > Johann (I am using latest stable - web2py 1.99.2 not trunk) , does it > work with the trunk version? > > Result1: > fields = (db.projects_post.title, db.projects_posts.project_details, > db.projects_posts.estimated_worth ) > > KeyError: 'id' > > Include db.projects_post.id in your fields. In the latest version in the trunk I can work without it, but I think in 1.99.2 is it a requirement for 'fields' to include the id-field.
Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)