On Friday, April 15, 2016 at 9:53:35 PM UTC-7, Jack Lodge wrote:
>
> Im trying to make a Order system for my alevel course work and when im 
> filling in some forms i make a *Request* then i redirect the user to the 
> *Item_Request* form to fill in the details there, i need to be able to 
> get the id of the Request that they just submitted so i can populate the 
> Item_Request Table.
>
> I am using Pythonanywhere and web2py
>
> how would i do this?
>

One way would be for the item form to record in the session the id returned 
by its add operation .  The order form would then look up that id in the 
session.

/dps

-- 
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