Advantage TDataSet Descendant
When determining the record count, key count, or key position, indicates whether to respect the scope/range applied to the data set.
type TAdsRespectScopes = ( IGNORE_SCOPES_WHEN_COUNTING,
RESPECT_SCOPES_WHEN_COUNTING );
property AdsTableOptions.AdsScopeOptions;
This setting specifies whether scopes/ranges are respected or ignored when using the following methods: AdsGetKeyCount, AdsGetKeyNum, and AdsGetRecordCount. Unlike the AdsFilterOptions property, the performance of methods affected by this setting is similar no matter which scope setting is specified.