DBGOTOP()

Moves the record pointer to the bottom of the database.

Syntax

DBGOTOP() --> NIL

Returns

DBGOTOP() always returns NIL.

Description

This function moves the record pointer in the selected or aliased work area to the top of the file.The position of the record pointer is affected by the values in the index key or by an active FILTER condition.Otherwise,if no index is active or if no filter condition is present,the value of RECNO() will be 1.
Examples
      USE Tests
      DBGOTOP()
      ? RECNO()
      DBGOBOTTOM()
      ? RECNO()
      USE
Status

Ready

Compliance

This function is CA-Clipper compliant

Files

Library is rdd

See Also