From RAD Studio API Documentation
Jump to: navigation, search


function Reconcile(ACommitApplied: Boolean = False): Boolean;


bool __fastcall Reconcile(bool ACommitApplied = false);


Type Visibility Source Unit Parent
function public
FireDAC.Comp.DataSet TFDDataSet


Clears the successfully updated records from the dataset's cache of changes.

The ACommitApplied parameter determines whether reconciled changes are commited (True) or not (False).

The results of applying updates are recorded in the internal data storage, including error information for each record that could not be applied. Reconcile generates an OnReconcileError event for every record that was not successfully applied. Finally, Reconcile adjusts the Delta property so that it includes only those records that were not successfully applied. Any changes made in the OnReconcileError event are reflected in the new value of Delta.

Reconcile returns a value that indicates whether reconciling is successful. If True, Reconcile succeeded without error. If False, one or more errors could not be reconciled.

Alternatively, an application can review erroneous records using the FilterChanges and RowError properties. See Reviewing Errors for more details.

See Also