Datasnap.DBClient.TReconcileAction

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: Datasnap.DBClient

Delphi

TReconcileAction = (raSkip, raAbort, raMerge, raCorrect, raCancel, raRefresh);

C++

enum DECLSPEC_DENUM TReconcileAction : unsigned char { raSkip, raAbort, raMerge, raCorrect, raCancel, raRefresh };

Description

TReconcileAction indicates how a client dataset should handle a record whose update generated an error.

TReconcileAction is the type of the return parameter in a client dataset's OnReconcileError event handler. It indicates the action to take when the OnReconcileError handler exits. The following table lists the possible values and what they indicate:



Value Meaning

raSkip

Skip updating the record that raised the error condition, and leave the unapplied changes in the change log.

raAbort

Abort the entire reconcile operation.

raMerge

Merge the updated record with the record on the server.

raCorrect

Replace the current updated record with the value of the record in the event handler.

raCancel

Back out all changes for this record, reverting to the original field values.

raRefresh

Back out all changes for this record, replacing it with the current values from the server.



See Also