RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Provider.TResolverResponse Enumeration

TResolverResponse indicates the action a resolver component should take after an OnUpdateError event handler handles an update error.

Pascal
TResolverResponse = (
  rrSkip,
  rrAbort,
  rrMerge,
  rrApply,
  rrIgnore
);
C++
enum TResolverResponse {
  rrSkip,
  rrAbort,
  rrMerge,
  rrApply,
  rrIgnore
};

The following table lists the possible values for TResolverResponse and what they indicate:

Value 
Meaning 
rrSkip  
Skip updating the record that raised the error condition, and leave the unapplied changes in the cache.  
rrAbort  
Abort the entire update operation without displaying an error message.  
rrMerge  
Merge the updates in the delta packet with the new underlying value from the database. This will only succeed if none of the updated fields have been changed by another user.  
rrApply  
Apply the current record value (as it has been fixed in the OnUpdateError handler) instead of the original update.  
rrIgnore  
Ignore the error condition: Do not apply the record but do not return the record to the client dataset for resolving either.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!