Data.Win.ADODB.TCustomADODataSet.UpdateStatus

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function UpdateStatus: TUpdateStatus; override;

C++

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

Properties

Type Visibility Source Unit Parent
function public
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

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