DB.TUpdateAction

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

From DB.pas

TUpdateAction = {
	uaFail,
	uaAbort,
	uaSkip,
	uaRetry,
	uaApplied
};


Unit: DB

Type: enum

C++ Information

From DB.hpp

enum TUpdateAction{
	uaFail,
	uaAbort,
	uaSkip,
	uaRetry,
	uaApplied
};


Unit: DB

Type: enum

Description

TUpdateAction Indicates how an a dataset should proceed after an event handler has processed an update.


TUpdateAction is the type of a parameter on event handlers that intervene when applying cached updates (without using a client dataset and provider). The following table lists the possible values:



Value Meaning

uaAbort

Abort the update operation without displaying an error message.

uaApplied

The event handler applied the update (not used in error handling event handlers). Free the current record update from the cache.

uaFail

Abort the update operation and display an error message.

uaRetry

Repeat the update operation that originally raised the error condition (not used in OnUpdateRecord event handlers).

uaSkip

Skip updating the current record and leave the unapplied changes in the cache.

Personal tools
Translations
Newest Version