Apparently if you are going to use "rname" you may need to surround the column name with single and double quotes which will send the double-quotes to the DB:
Field('state', rname='"state"') As an aside, it always seemed to me that a DB access library would be able to be structured in such a way that reserved words would be a non-issue. There are quite a few words on the list that I would like to use (ie, state, group). -- 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.