db.define_table('one',Field('field1').....)
db.define_table('two',Field('field2').....)
db.define_table('three',Field('field3').....)

form = SQLFORM.factory(db.one,db.two,db.three).process()
if form.accepted:
     db.one.insert(field1 = form.vars.field1)
     db.one.insert(field2 = form.vars.field2)
     db.one.insert(field3 = form.vars.field3)

On Saturday, 13 October 2012 05:39:26 UTC-5, qwer qwer wrote:
>
> hello,
>    I want to display many sql forms,but they should have a single submit 
> button.when the submit button is pressed all the values should get updated 
> into their respective tables.is it possible?how to do it? thanks
>

-- 



Reply via email to