Datasnap.DBClient.TClientDataSet.OnReconcileError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnReconcileError: TReconcileErrorEvent read FOnReconcileError write FOnReconcileError;

C++

__property OnReconcileError;

Properties

Type Visibility Source Unit Parent
event published
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TClientDataSet

Description

Occurs when a client dataset needs to reconcile an update to a record that could not be applied.

Datasnap.DBClient.TClientDataSet.OnReconcileError inherits from Datasnap.DBClient.TCustomClientDataSet.OnReconcileError. All content below this line refers to Datasnap.DBClient.TCustomClientDataSet.OnReconcileError.

Occurs when a client dataset needs to reconcile an update to a record that could not be applied.

Write an OnReconcileError event handler to respond to error conditions that arise when the Reconcile method cycles through records that could not be applied to the database. This event handles only those update errors that were not handled in an OnUpdateError event handler.

The OnReconcileError event handler is called once for each record that could not be applied to the dataset or handled by the provider.

Warning: A provider cannot detect when an update conflicts with another user's changes to a memo field. This situation does not generate an OnReconcileError event.

OnReconcileError is an event handler of type Datasnap.DBClient.TReconcileErrorEvent.

See Also