I think this calls for a new feature. for today the best I can suggest is form = SQLFORM(...).process(onaccept=auth.archive)
(notice auth.archive and crud.archive are the same but you can archive without crud). I hate crud. I want it to die but slowly. On Sep 13, 5:16 pm, Michele Comitini <michele.comit...@gmail.com> wrote: > A question which bothers me a lot lately ;-) > > I know that crud has a nice support for history tables inside the db, > but I cannot use crud everywhere. > It would be nice if DAL had support for this feature(*) > > I would like to have web2py take care of the task instead of filling > the db with triggers and stored procedures. > > On PostgreSQL I suppose can use the tablelog machinery, but first I do > not even know if it still works on pg 9.x and secondly it is not > portable at all... > > Does anyone have suggestions? > > thanks > > mic > > (*)now I expect Massimo showing me how I am ignorant with one of his > great onliners! ;-)