Hi
thank you for sample.
Where should I call TABLEREVERT() for both after ROLLBACK ?
Will VFP confuse with BEGIN TRSANCTION If code like this?
I did code
BEGIN TRANSACTION
INSERT INTO TABLE1 VALUES(A)
INSERT INTO TABLE2 VALUES(B)
IF NOT TABLEUPDATE(1,1,"TABLE1")
llOk = .F.
ENDIF
IF NOT TABLEUPDATE(1,1,"TABLE2")
llOk = .F.
ENDIF
IF llOk
END TRANSACTION
ELSE
ROLLBACK
ENDIF
But VFP failed to ROLLBACK
Any ideas/
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...