Advantage TDataSet Descendant
Clears scopes on all indexes open for the given table.
procedure AdsClearAllScopes;
CAUTION It is recommended that this Advantage extended method not be used. Please read the Caution About Extended Methods for more information. The suggested native Delphi method to use instead is: CancelRange. See your Delphi documentation for more information about this native Delphi method.
This function will clear both top and bottom scopes for all index orders open for this table.
AdsTable1.SetRange( [‘Adams’], [‘Smith’] );
AdsTable1.CancelRange;