Functions and Directives

Function DbPosition() Foundation

Returns the position of the record pointer as a percent value

DbPosition() --> nPercent

The function returns a numeric value in the range between 0 and 100. It indicates the position of the record pointer in percent.


The function DbPosition() is used to determine the position of a record pointer as a percent value. It works independetly of whether or not a controlling index is active in the work area. This allows for an easy visualization of the record pointer position with a scroll bar. The range for the scroll bar must be set to 0-100 and the scroll bar thumb is positioned using the return value of DbPosition().


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.