Skip to content

TCustomBufDataset.OnUpdateError

Event handler signalled when an error occurs while updating records.

Declaration

Source position: bufdataset.pas line 827

published property OnUpdateError: TResolverErrorEvent;

Description

OnUpdateError is a TResolverErrorEvent property that represents the event handler signalled when an error occurs while applying updates to records in the buffered dataset. OnUpdateError allows an application to perform actions needed when a database exception occurs in the ApplyUpdates method.

Applications can assign a procedure to the event handler that implements the TResolverErrorEvent signature to respond to the event notification. The procedure must set the value in its Response argument to indicate whether the condition is handled, ignored, or can be re-raised in the calling method.

See also

Name Description
TResolverErrorEvent Defines the event handler for update errors in TBufDataset.
TCustomBufDataset.ApplyUpdates Applies pending updates to the dataset.