Skip to content

TUpdateAction

Action to perform when an update operation fails.

Declaration

Source position: db.pas line 1596

type
  TUpdateAction = (uaFail,uaAbort,uaSkip,uaRetry,uaApplied)

Values

Value Description
uaFail Update operation should fail.
uaAbort The whole update operation should abort.
uaSkip The update of the current record should be skipped. (but not discarded).
uaRetry Retry the update operation.
uaApplied Consider the update as applied.

Description

TUpdateAction indicates what action must be taken in case the applying of updates on the underlying database fails. This type is not used in the TDataset class, but is defined on behalf of TDataset descendents that implement caching of updates: It indicates what should be done when the (delayed) applying of the updates fails. This event occurs long after the actual post or delete operation.

See also

Name Description
TDataAction Action to take when a data manipulation operation has failed.