Updatebatch question
Suppose you have the following code:
try
Data.ADOConnection.BeginTrans;
MasterTable.UpdateBatch;
RelatedTable.UpdateBatch;
Data.ADOConnection.CommitTrans;
except
Data.ADOConnection.RollbackTrans;
end;
If something fails (transaction rolls back): can I reapply UpdateBatch? Are
cached updates lost?
Thanks!
.
Relevant Pages
- UpdateBatch question
... If something fails (transaction rolls back): can I reapply UpdateBatch? ... (microsoft.public.data.ado) - Re: Updatebatch question
... >If something fails (transaction rolls back): can I reapply UpdateBatch? ... If RelatedTable.updateBatch fails you can't just reapply MasterTable batch. ... (borland.public.delphi.database.ado) |
|