API:FireDAC.Comp.DataSet.TFDDataSet.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
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Reports the update status for the active record.

FireDAC.Comp.DataSet.TFDDataSet.UpdateStatus inherits from Data.DB.TDataSet.UpdateStatus. All content below this line refers to Data.DB.TDataSet.UpdateStatus.

Reports the update status for the active record.

As implemented in TDataSet, UpdateStatus always returns usUnmodified. Descendant classes override this method to reflect whether the active record has been modified, and if so, how.