I had a similar problem with a query containing a field of type boolean. I solved it by adding default = False to the field definition. Tim already mentioned this in his post.
I don't know what database you are using, but in Postgresql 'F' is not a valid literal for the false state. In my web2py queries I use False in my Postgresql queries I use FALSE which is SQL compliant, so no quotation marks. Annet -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.