>From the >book<http://web2py.com/books/default/chapter/29/06#before-and-after-callbacks> : The return values of these callback should be None or False. If any of the _before_* callback returns a True value it will abort the actual insert/update/delete operation.
I'm guessing the 'return true' would break the chain, same as it does in the 'before' - but i'm not sure. On Tuesday, January 8, 2013 9:00:41 AM UTC-7, Michael Schoonover wrote: > > How can I prevent the SQLFORM from deleting a record? I have an ondelete > callback that I want to do the deletion, and I don't want the form to > subsequently attempt to delete the same record upon return from the > callback. > > Thanks in advance, > Mike Schoonover > --