Thanks yet again Anthony. It makes sense that it only recomputes when the relevant fields change. I think it would be valuable to change the book as it implies (at least it did to me) that the computed value is computed on any update of the record,
"When a new record is modified, including both insertions and updates, if a value for the field is not provided, web2py tries to compute from the other field values using the compute function. " Peter On Friday, May 25, 2012 6:50:33 PM UTC+1, peter wrote: > > I am using web2py 1.99.7 > > I have a compute as > > db.image.thumb.compute=lambda r:THUMB(r['file']) > > > I update the whole database > > def update_images(): > rows=db(db.image).select() > for row in rows: > row.update(title=row.title) > db.commit() > > > Yet, the computes have not occurred. > > Similarly if I edit a record and submit, no compute. Yet if I add a > record, the compute does take place. > > Anyone any ideas why? > > Thanks > Peter >

