I need to Insert a record into a table where you have a foreign key that 
references a primary key that is not yet created.

For example two tables :


   1. Orders table 
   
   2. Items table
   

I  want to submit these two form on same page but items table records have 
a reference from orders table  (order id) which will be created on form 
submission. 


Please, could anyone share ideas. Let me know if it is not clear.

Thank you,

-- 
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/d/optout.

Reply via email to