Massimo, this is great and it works. Thank you. However, caveat emptor
to others who follow this thread. The as_list() function turns
datetime fields into strings, so you may have to convert them back to
datetimes. It feels a little kludgey, but it does work.

On Jun 12, 11:42 pm, mdipierro <[email protected]> wrote:
> No it does not work.
>
> You have to do:
>
> x=x.as_list()
> for y in x:
>     y['field']='value'
>
> You cannot modify records in a SQLRows object because they are
> computed when requested. This will change in the new DAL.
>
> Massimo
>
> On Jun 12, 10:30 pm, weheh <[email protected]> wrote:
>
>
>
> > DenesL: I tried exactly that, but somehow, it didn't seem to work.
> > I'll try again. Thanks for your response!
>
> > On Jun 12, 4:54 pm, DenesL <[email protected]> wrote:
>
> > > y['field1'] = 'new name'- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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