AdsIsIndexDescending

Advantage Client Engine

Determines if the given index order is descending.

Syntax

UNSIGNED32

AdsIsIndexDescending (ADSHANDLE hIndex,

UNSIGNED16 *pbDescending);

Parameters

hIndex (I)

Handle of index order of interest.

pbDescending (O)

Return True if index order is descending.

Remarks

Descending index keys are sorted from largest to smallest. The default is an ascending index. An AdsGotoTop call on a descending order will position at the largest key in the index. An AdsGotoBottom call will position at the smallest key in the index order.

Example

Click Here

See Also

AdsOpenIndex

AdsCreateIndex