BEGIN TRANSACTION SELECT tableA && all tables with buffermode=5 REPLACE ... INSERT INTO tableB ... ltableUpdate=.n. SELECT tableA IF TABLEUPDATE(.t.) SELECT tableB IF TABLEUPDATE(.t.) ltableUpdate=.y. ENDIF ENDIF IF ltableUpdate END TRANSACTION ELSE ROLLBACK ENDIFThe app only good in stand alone, if running in multi-user environment, I constantly got 'File is in use by another user', rollback, missing records.