Function DbGoPosition() Foundation

Moves the record pointer to a percent position in a work area

Syntax
DbGoPosition( <nPercent> ) --> NIL
Parameters
<nPercent>
<nPercent> is a numeric value in the range between 0 and 100. Zero is equivalent to the first record and 100 indicates the last record in a work area.
Return

The return value is NIL.

Description

The function DbGoPosition() moves the record pointer in a work area based on a percent value. Positioning of the record pointer is performed regardless of whether or not a controlling index is active. If there is a controlling index, the value 0 positions the record pointer on the first logical record while 100 moves it to the last record in the index.

The function considers filter conditions as well as deleted records. It is, therefore, very well suited for positioning a record pointer using a scroll bar.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.