I have a system that is installed on an unstable network, my question is the following, if at some point in my recording I lose the connection to the database, how do I undo what was done in the database ? If I put:
try
....
query1.post;
query2.post;
commit;
except
rollback;
Would that work? I think not, because if in the second Post, I lose the connection to the database, the rollback will not work either?