Datasnap.Provider.TBaseProvider.OnUpdateError
Delphi
property OnUpdateError: TResolverErrorEvent read FOnUpdateError write FOnUpdateError;
C++
__property TResolverErrorEvent OnUpdateError = {read=FOnUpdateError, write=FOnUpdateError};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TBaseProvider |
Description
Occurs when a provider can't update a record because of an error condition.
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.
OnUpdateError is an event handler of type Datasnap.Provider.TResolverErrorEvent.