Here's what the book recommends: 
http://web2py.com/book/default/chapter/07#One-form-for-multiple-tables

On Sunday, April 24, 2011 4:33:19 PM UTC-4, Pystar wrote:

> I have 2 tables and I would like to insert data gotten from the user 
> into the tables at the same time. How do I go about this? 
> Can I use SQLFORM() on 2 tables to present the user with a single form 
> and then if the form validates, insert the data into the tables? Or do 
> I have to use custom forms/SQLFORM.factory to design my form and then 
> insert? 
> I really need some tips on this. 
> Thanks 
> Pystar

Reply via email to