Data.DB.TUpdateKind

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TUpdateKind = (ukModify, ukInsert, ukDelete);

C++

enum DECLSPEC_DENUM TUpdateKind : unsigned char { ukModify, ukInsert, ukDelete };

Description

TUpdateKind defines the values for the UpdateKind parameter of OnUpdateError and OnUpdateRecord event handlers.

The TUpdateKind type defines the possible values for the UpdateKind parameter of OnUpdateError and OnUpdateRecord event handlers, as described in the following table:



Value Description

ukModify

The update to the record is a modification to the record's contents.

ukInsert

The update is the insertion of a new record.

ukDelete

The update is the deletion of a record.