[web2py] Re: 'Query' object has no attribute 'tablename' when using show_if

2016-06-21 Thread Bernardo Leon
Thank you anthony, it worked! El lunes, 20 de junio de 2016, 18:25:13 (UTC-5), Anthony escribió: > > This is not the intended purpose of show_if. It is only used to > dynamically hide or show fields in the form, based on the values of other > fields in the form (so, the query must refer to other

[web2py] Re: 'Query' object has no attribute 'tablename' when using show_if

2016-06-20 Thread Anthony
This is not the intended purpose of show_if. It is only used to dynamically hide or show fields in the form, based on the values of other fields in the form (so, the query must refer to other fields in the same table). Ultimately, the query does not hit the database but is simply converted to J