Unit 'BufDataset' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TCustomBufDataset.ChangeCount

Number of pending changes for the dataset.

Declaration

Source position: bufdataset.pas line 676

public property TCustomBufDataset.ChangeCount : Integer
  read GetChangeCount;

Description

ChangeCount is a read-only Integer property that indicates the number of pending changes in the update buffers allocated for the dataset. Update buffers are maintained in an internal TRecordsUpdateBuffer member when methods that add, delete, or modify record data are called.

ChangeCount can be used in an application to determine if ApplyUpdates, CancelUpdates, or RevertRecord should be called prior to closing the dataset.

See also

TCustomBufDataset.ApplyUpdates

  

Applies pending updates to the dataset.

TCustomBufDataset.CancelUpdates

  

Cancels pending updates in the dataset.

TCustomBufDataset.RevertRecord

  

Reverts the current record to its original (un-edited) values.


Documentation generated on: Jul 24 2023