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

TUpdateAction

Action to perform when an update operation fails

Declaration

Source position: db.pas line 1323

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: Sep 28 2017