RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DBClient.TReconcileAction Enumeration

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

Pascal
TReconcileAction = (
  raSkip,
  raAbort,
  raMerge,
  raCorrect,
  raCancel,
  raRefresh
);
C++
enum TReconcileAction {
  raSkip,
  raAbort,
  raMerge,
  raCorrect,
  raCancel,
  raRefresh
};

DBClient

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!