Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.ClearIndexes procedure

Member of TCustomBufDatasetpublicIn unit BufDataset

Clears index storage in the dataset.

Declaration

pascal
procedure ClearIndexes

Description

ClearIndexes is a procedure procedure used to clear the storage for all indexes in the dataset. ClearIndexes uses the index definitions in the BufIndexDefs property and calls the ClearIndex method for each of the indexes.

ClearIndexes calls CheckInactive to ensure that the dataset has its Active property set to False. Indexes cannot be cleared if the dataset has been opened.

ClearIndexes is used when the value in the UniDirectional property is changed to False, and in the destructor for the class instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.