AdsClearScope

Advantage Client Engine

Clears scope on the given index order.

Syntax

UNSIGNED32

AdsClearScope (ADSHANDLE hIndex,

UNSIGNED16 usScopeOption);

Parameters

hIndex (I)

Handle index order.

usScopeOption (I)

Indicates which scope value to clear. Options are ADS_TOP and ADS_BOTTOM.

Special Return Codes

AE_NO_SCOPE

No scope was set, so a scope cannot be returned or cleared.

Remarks

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.

Example

Click Here

See Also

AdsSetScope

AdsGetScope

AdsSeek

AdsSkip

AdsGotoTop

AdsGotoBottom

AdsClearAllScopes