I have the following query and form: user = db.auth_user(vertexID=vertexID)
form = SQLFORM.factory(db.auth_user, db.auth_dummy, extra_fields=extra_fields) If the form validates I want to update user with data I selected from other tables and with data from the form. I have the following code; user.update_record(field1=value1, field2=value2) user.update_record(**db.auth_user._filter_fields(form.vars)) I wonder whteher there is a more elegant solution than calling user.update_record() twice Kind regards, 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

