Delphi - TFDQuery - How To set updateStatus usUnmodified only for one record without revert it?

Viewed 99

I would like to remove from TFDQuery.Delta, only one specific usModified record, but not reverting it. The same as TFDQuery.CommitUpdates but not to all DataSet, only for one choosed record. Anyone knows one easy way ?

1 Answers

I found the solution:

FDQuery.GetRow.AcceptChanges;

This CommitUpdates only to current record on Local TFDDataSet.

Related