Hello Bart, Thursday, September 20, 2007, 5:21:41 PM, you wrote: > or maybe I should modify our after insert trigger to have a line > set @last_recid = new.recid ? > Would that work ? Yes, it should work. -- Best regards, Ivan Smahin Senior Software Engineer Paradigma Software, Inc Valentina - The Ultra-Fast Database http://www.valentina-db.com