form=crud.create(db.table1,onaccept=lambda form:
do_something_with_table2(form))


On 5 Lug, 23:39, mdmcginn <michael.d.mcgin...@gmail.com> wrote:
> I'm working on a variation of an opinion poll application. Maybe I
> missed this, but what is the best way to update multiple tables with
> one form? SQLFORM and CRUD work well, but assume that a single table
> is being updated. On submit, I would like to insert the current user's
> ID and his answer into one table and update the count of total answers
> in another table. But I haven't come up with code to do that.

Reply via email to