Advantage Client Engine
Returns the relative position of the current record in the given index order.
UNSIGNED32 |
AdsGetRelKeyPos (ADSHANDLE hIndex, DOUBLE *pdPos); |
hIndex (I) |
Handle of index order. |
pdPos (O) |
Return relative position. The value will be between 0.0 and 1.0 inclusive. |
AE_NOT_FOUND |
The desired index key was not found. It may not exist. |
AdsGetRelKeyPos returns an estimation of the position in the current key in the indicated index order. The value returned will be between 0.0 and 1.0, inclusive. If there are scopes set on the index order, the position returned will be relative to the visible records.