RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.UpdateStatus Method

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

Pascal
function UpdateStatus: TUpdateStatus; override;
C++
virtual __fastcall TUpdateStatus UpdateStatus();

Call UpdateStatus to determine the update status for the current record in the client dataset. 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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!