Advantage TDataSet Descendant
Clears scope on the given index order.
type TAdsScopeOptions = ( soTOP, soBOTTOM );
procedure AdsClearScope( eScopeOption : TAdsScopeOption );
|
eScopeOption |
Enumerated type for the scope option. |
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.
AdsTable1.SetRange( [‘Adams’], [‘Smith’] );
AdsTable1.CancelRange;
If the top or bottom scope is cleared, any other scope settings remain. If currently positioned at EOF or BOF and a scope is cleared, it is necessary to reposition by performing a movement to see any records.