[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'BufDataset' (#fcl)

TCustomBufDataset.OnUpdateError

Event handler signalled when an error occurs while updating records

Declaration

Source position: bufdataset.pas line 663

published property TCustomBufDataset.OnUpdateError : TResolverErrorEvent
  read FOnUpdateError
  write SetOnUpdateError;

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

TResolverErrorEvent

  

Defines the event handler for update errors in TBufDataset

TCustomBufDataset.ApplyUpdates

  

Applies pending updates to the dataset


Documentation generated on: May 14 2021