Hi everyone,
I have the following code:
IF ValueEntry.FINDSET THEN BEGIN
REPEAT
....
....
ValueEntry.MODIFY;
UNTIL (ValueEntry.NEXT=0);
END;
If something goes wrong in the execution, does it rollback? I mean, do I loose the update on entries that were modified before the error?
Do I need to add a
COMMIT to make sure it is saved for good?
Thanks in advance
Answers
But make sure that do you really need to save these changes even though there is error.
if yes, then use commit.
if there are any modifications to any tables before commit then they will also be saved.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav