Advantage Client Engine
Sets the current record to the given relative position in the given index order.
UNSIGNED32 |
AdsSetRelKeyPos (ADSHANDLE hIndex, DOUBLE dPos); |
hIndex (I) |
Handle of index order. |
dPos (I) |
Set relative key positions. The value specified in the dPos parameter must be in the range from 0.0 to 1.0, where 0.0 would indicate the top of the index and 1.0 refers to the bottom. |
AdsSetRelKeyPos approximates the position of the indicated percentage in the index order based on the given value. If there is a scope set, AdsSetRelKeyPos calculates and sets the relative position relative to the current scope.