RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.UpdateStatus Method

Indicates the update status of the current record.

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

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!