Data.DB.TUpdateKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TUpdateKind = (ukModify, ukInsert, ukDelete);

C++

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

Properties

Type Visibility Source Unit Parent
enum public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

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.