which version? trunk?

On Jan 26, 6:03 am, notabene <niels...@gmail.com> wrote:
> Problem trying to access record id on update-form
>
> form=SQLFORM(db.arr,rows[0],fields=fields)
> if form.accepts(request.vars,session):
>      session.flash="Record updated (%s)" % (form.vars.id)
>
> Flash result for id: None
>
> I can access other variables e.g form.vars.name but NOT: form.vars.id
>
> I am puzzled!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to