i think you can achieve it using before and after callbacks (execute in 
models/database) or using sqlform.grid signature onupdate or oncreate 
(execute in form).

ref from book :
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#before-and-after-callbacks
http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM.grid-signature

ref from forum :
before and after callback
https://groups.google.com/forum/#!msg/web2py/M4_5THMHzH0/r9aXH-k8eJQJ
sqlform.grid onupdate and oncreate
https://groups.google.com/forum/#!topic/web2py/ShebcblC9pM

best regards,
stifan

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to