Function DbSkip() Foundation
Positions the record pointer relative to the current record.
DbSkip( [<nRecords>] ) --> NIL
The return value of DbSkip() is always NIL.
The database function DbSkip() moves the record pointer in a work area by <nRecords> records. If the function is used without the alias operator, DbSkip() repositions the record pointer in the current work area.
If an attempt is made to move the record pointer in front of the first record, it is set to the first record and the function Bof() returns the value .T. (true). If an attempt is made to position the record pointer beyond the last record, it is set on the "phantom" record and the function Eof() returns the value .T. (true) (for DBF files this corresponds with the record pointer position LastRec()+1).
DbSkip() moves the record pointer on the basis of the logical data records in a work area. When an index and/or filter condition is active, logical order and filter conditions are considered.
The command SKIP can be used instead of DbSkip(). SKIP is effective only in the current work area.
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.