Great, thanks , that works. Putting the conditions in the db(), probably
the only option i didn't try... :).
On Sunday, September 1, 2013 12:25:32 AM UTC+3, אבי אברמוביץ wrote:
>
> Hi,
> I do this query:
> items = db.executesql('SELECT * FROM project;')
> For the field below, which is a field in the db.project:
> Field('company_name', 'reference company', notnull=True).
> On the view, "{{=item[3]}}" renders only '1'.(instead of the company name).
> What should I do?
> Thanks.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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.