By default it displays the default values for the field unless

form.accepts(...,keepvalues=true)

Massimo

On Apr 24, 3:12 pm, "[email protected]" <[email protected]> wrote:
> If I create an object of type SQLFORM specifying the 'record' keyword
> and then call sqlform.accepts(...), accepts seems to update the
> database correctly, but it doesn't seem to update it's own data.  When
> I redisplay the sqlform after a successful .accepts() call, the
> resulting form contains the old data.
>
> Couldn't SQLFORM update it's own fields as well as the db?
>
> ae
--~--~---------~--~----~------------~-------~--~----~
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