RDD

DbSkip()

Move relative to the current record

Syntax

Signature
DbSkip( [nRecords] ) --> NIL

Arguments

nRecords

Number of visible records to move. The default is 1.

Return value

NIL.

Description

DbSkip() moves the record pointer relative to its current position. Positive values move forward and negative values move backward.

Notes

Filters, scopes and deleted-record settings affect navigation.

Example

DbSkip.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   DbGoTop()
   DbSkip( 1 )
   QOut( "Record: " + LTrim( Str( RecNo() ) ) )
   DbCloseArea()

RETURN

Output

See also