Datasnap.DBClient.TReconcileAction
Delphi
TReconcileAction = (raSkip, raAbort, raMerge, raCorrect, raCancel, raRefresh);
C++
enum DECLSPEC_DENUM TReconcileAction : unsigned char { raSkip, raAbort, raMerge, raCorrect, raCancel, raRefresh };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | Datasnap.DBClient |
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. |