TAdsTable.AdsClearAllScopes

Advantage TDataSet Descendant

Clears scopes on all indexes open for the given table.

Syntax

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.

Description

This function will clear both top and bottom scopes for all index orders open for this table.

Example

AdsTable1.SetRange( [‘Adams’], [‘Smith’] );

AdsTable1.CancelRange;

See Also

AdsClearScope

AdsGetScope

AdsSetScope