# ADSGetRelKeyPos()

Estimated key position of current record within the specified index

Syntax

  ADSGetRelKeyPos([<xTag>]) --> nKeyPos

Arguments

  <xTag> Index to use. Default is current index.

Returns

  The relative key position within the current index. This function estimates the position of the current key in the indicated index order. The value returned is between 0.0 and 1.0, inclusive. If there are scopes set on the index order, the position returned is relative to the visible records.

Description

  See ACE.HLP for full details about the Advantage Database Server.

Status

  Ready

Compliance

  Harbour extension

Platforms

  Windows 32-bit

Files

  Library is RddAds Header is ads.ch

See Also

- ADSKeyNo()
- ADSKeyCount()