Thanks again Stifan, this one-to-many structure is needed in many situations. Surprising it isn't mentioned more often.
On Tuesday, 10 September 2013 11:46:24 UTC+1, 黄祥 wrote: > > btw there is written in the book : > > http://web2py.com/books/default/chapter/29/07/forms-and-validators#One-form-for-multiple-tables > but not sure if you can implement in header n detail, because i think > detail table will include many records for example in the case of invoice : > product1 with quantity and price, product2 with quantity and price, etc. > imho, it's so difference with others framework (php), that have a lot > example that can achieve this. > > pls correct me if i'm wrong > > best regards, > stifan > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.