On Friday, September 2, 2011 3:07:07 AM UTC-4, paroiron wrote:
>
> Thank you, 
> I'll probably do the math in my app, because I'd like to be able to 
> perform a search on the result (impossible with virtual fields, am I 
> right?). 
>
> However, I think the text in the book is misleading : 
> "[...]if a value for the field is not provided, web2py tries to 
> compute from the other field values using the compute function." 
> Reading this, I understand that: 
> If a value is provided, then the compute attribute is ignored.
>

Maybe that is referring to doing a manual insert or update (via .insert() or 
.update(), not via a form submission).

Anthony

Reply via email to