Another option is to use the DAL callbacks: http://web2py.com/books/default/chapter/29/06#before-and-after-callbacks
Anthony On Thursday, April 4, 2013 9:21:14 AM UTC-4, Niphlod wrote: > > the grid exposes several callbacks that you can use to "attach" your own > counters .....oncreate, onupdate and ondelete > > On Thursday, April 4, 2013 4:55:49 AM UTC+2, Dan Kozlowski wrote: >> >> I have a smartgird that is being used for adds, updates, and deletes and >> wondering how I can call a function to update a counter in the DB to keep >> track of how many add, updates and deletes were done in a day. > > -- --- 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/groups/opt_out.