transaction problem with applyupdates in Delphi
[ Delphi
Forum ]
Posted by han77 on January 15, 2004 at 02:01:10:
i have a problem with transaction if there is no error (etc. duplicate key) with applyUpdates this coded work fine but when there is an error data rollback and then i correct the data and save it again it wont work and save nothing ******* procedure btnsaveclick(sender :tobject); begin StartTransaction try Master.applyupdates; Detail.applyupdates; Commit; except Rollback; end; end; ******
Related Articles and Replies:
[ Delphi
Forum ]
|