Hello as I make the following actions run within the same transaction
form = SQLFORM(my_table) if form.accepts(request.vars, session): id = int(form.vars.id) doc = my_table[id] doc.update_record(state=1) other_table.insert(documento=doc, ...) redirect(my_url) elif form.errors: response.flash = 'errors' return dict(form=form) I need to submit, update_record and insert running on the same transaction. Best Regards Jose