Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.OnUpdateError property

Member of TCustomBufDatasetpublishedIn unit BufDataset

Event handler signalled when an error occurs while updating records.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.