Data.Win.ADODB.TCustomADODataSet.UpdateStatus

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TCustomADODataSet

Delphi

function UpdateStatus: TUpdateStatus; override;

C++

virtual Data::Db::TUpdateStatus __fastcall UpdateStatus();

Description

Indicates the update status of the current record.

Call UpdateStatus for datasets opened in batch update mode to determine the update status of the currently active record. UpdateStatus only provides useful information when the dataset has been opened in batch update mode. Otherwise there cannot be any unapplied updates.

Note: To use batch updating, the CursorType property of the dataset component must be either ctKeySet (the default) or ctStatic and the LockType property must be ltBatchOptimistic.

See Also