Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TUpdateAction

Action to perform when an update operation fails.

Declaration

Source position: db.pas line 1592

type TUpdateAction = (

  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

TDataAction

  

Action to take when a data manipulation operation has failed.


Documentation generated on: Dec 22 2024