Datasnap.DBClient.TCustomClientDataSet.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
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Reports the update status for the current record in the dataset.

Call UpdateStatus to determine the update status for the current record in the client dataset. The update status can change frequently as records are edited, inserted, or deleted. UpdateStatus offers a convenient method for applications to assess the current status before undertaking or completing operations that depend on the update status of the current record.

Note: To determine whether there are updates pending for an entire dataset, check the ChangeCount property.

See Also