Thanks for the help. I'm still working on this - I will come back with some
code to show what worked for me - but just wanted to correct another typo
in my code.
The correct syntax for referencing other tables is not:
Field('project_id', 'references projects')
but:
Field('project_id', 'reference projects')
That extra 's' causes all sorts of confusion. I got error messages next to
my SQLFORM.grid saying "Query Not Supported: 'references'" and it took a
while to spot what was going wrong!
--
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/d/optout.