RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetProvider.OnUpdateError Event

Occurs when a provider can't update a record because of an error condition.

Pascal
property OnUpdateError: TResolverErrorEvent;
C++
__property TResolverErrorEvent OnUpdateError;

Write an OnUpdateError event handler to respond to error conditions that arise when the provider applies a client dataset's updates. The OnUpdateError event handler is called for each record that can't be updated.

Warning: The provider can't detect when an update conflicts with another user's changes to a memo field. This situation will not generate an OnUpdateError event.
 

applyupdates 

OnReconcileError 

NewValue 

OldValue 

CurValue 

Resolving Update Errors On the Provider

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