AnyDAC
ContentsIndexHome
PreviousUpNext
TADDataSet.CommitUpdates Method

Clears the changes log and marks all records as not modified.

Group
Links

Call CommitUpdates to clear the dataset changes log, working in CachedUpdates = True mode, after both a successful call to ApplyUpdates and a database component's Commit method. And marks all dataset record as unchanged. 

Applications that use a connection component's ApplyUpdates method to apply and commit pending updates for all datasets associated with the database component do not need to call CommitUpdates.

procedure CommitUpdates;
What do you think about this topic? Send feedback!