AdsGetIndexHandleByExpr

Advantage Client Engine

Retrieves the index handle given the index’s expression

Syntax

UNSIGNED32

AdsGetIndexHandleByExpr( ADSHANDLE hTbl,

UNSIGNED8*pucExpr,

UNSIGNED32 ulDescending,

ADSHANDLE *phIndex )

Parameters

hTbl (I)

Handle of a table.

pucExpr (I)

Expression to retrieve index handle for.

ulDescending (I)

ADS_ASCENDING or ADS_DESCENDING. AdsGetIndexHandleByExpr will find the index with the expression that is of the same "scending" value.

phIndex (O)

Handle of an index order.

Remarks

This function returns the index handle corresponding to the indicated index expression.

Example

Click Here

See Also

AdsOpenIndex

AdsGetIndexHandle

AdsGetIndexHandleByOrder

AdsGetIndexName