Please show your code.

On Friday, December 19, 2014 6:13:02 AM UTC-5, Mirek Zvolský wrote:
>
> Web2py book says
> >> When a new record is modified, including both insertions and updates, 
> if a value for the field is not provided, web2py tries to compute ....
>
> For me this works well after UPDATE from SQLFORM.
> However, when I use
>
> db.table.insert(sourcefieldforcomputed=value)
>
> computed field remains None ??
>
>
> What to do to get the expected behaviour?
> Should I call the compute function explicitly? Or is it web2py bug? Or...?
>
> Thanks for help. Mirek
>
> Version 2.9.11-stable+timestamp.2014.09.15.23.35.11
> Debian/Jessie
> SQLite
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to