got to http://groups.google.com/group/web2py

then do a search on "id of last record" ;)

-wes

On Fri, May 22, 2009 at 1:18 PM, NewBeen <[email protected]> wrote:

>
> I'm using the crud.create() function but i can not get the id of the
> last create record,
>
> I try to do like this in the controller
>
> ### CODE ###
>
> response.flash='last id is %s' % form.vars.id
> #####
>
> Always return None
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to