I think you have an old web2py version. On Feb 1, 10:37 am, Leandro - ProfessionalIT <lsever...@gmail.com> wrote: > Massimo, > > > db.define_table('product cost', > > Field('quote_products_id', db.quote_products, requires=IS_IN_DB > > (db, > > 'quote_products.id', lambda row: row.product.description')), > > This field generate a error of string expected. > > > Field('quote_products_id', db.quote_products, requires=IS_IN_DB > > (db, > > Why declare two fields with same name ? > > Any idea ? > > -- Leandro.
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.