See thread: http://groups.google.com/group/web2py/browse_thread/thread/373ba9cee9ea320c/a5c8093e3a6ab2e0?lnk=gst&q=id+of+last+record+added+using+crud#a5c8093e3a6ab2e0
On Oct 14, 2:10 am, Audra Rudys <[email protected]> wrote: > How does one capture the id of a newly created record for redirect? > > Desired workflow: User adds record, pushes submit, record added and goes > into "edit mode" for further work. > > I have 2 controls: add(using crud.create) and update (using crud.update). > After adding, I'm trying to redirect to update using the next=URL(), but I > need the id of the record I just created, -- is there a way to get this? Or > should I be approaching this differently to get the desired results? > > Thanks, > Audra

