<type 'exceptions.AttributeError'> 'Table' object has no attribute 'entry_attribute.name'
This is the error. On Wednesday, May 8, 2013 1:39:55 PM UTC+2, viniciusban wrote: > > Why doen't it work? > > What it shows? What should be shown? What error does it report? > > -- > Vinicius Assef > > > > On Wed, May 8, 2013 at 5:20 AM, Domagoj Kovač > <[email protected]<javascript:>> > wrote: > > Hi, > > > > i have three tables > > entry_attribute > > id int > > name varchar > > description longtext > > field_type varchar > > field_size int > > > > report_attribute > > id int > > report_id int > > entry_attribute_id int > > sorting varchar > > > > and report_attribute_filter > > id int > > report_attribute_id int > > filter_type varchar > > > > On my report attribute_filter i have a select where user can select > report > > attribute with name from entry attribute. > > I would like to do something like this. > > > > requires=IS_IN_DB(db(db.report_attribute.entry_attribute_id == > > db.entry_attribute.id), "report_attribute.id", '%(entry_attribute.name)s', > > > zero=T("-- Odaberite --")) > > > > Code above doesn't work. How can i do this? > > > > -- > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "web2py-users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

