> > Before you do that, can we see exactly what is the request.vars['id'] > object? Based on the exception you are getting, it seems it is a list, in > which case, there is a problem with your code, not with SQLFORM. >
Note, in particular, if you have an "id" variable in the URL query string and also post and "id" variable via a form, request.vars.id will end up being a list including both the GET and the POST variables. If you just want one or the other, use request.get_vars.id or request.post_vars.id. Anthony -- 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.

