RDD

DbGoTop()

Move to the first logical record

Syntax

Signature
DbGoTop() --> NIL

Arguments

None.

Return value

NIL.

Description

DbGoTop() positions the record pointer on the first visible record in the current work area, respecting active filters, scopes and deleted-record settings.

Notes

An empty area becomes EOF.

Example

DbGoTop.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   DbGoTop()
   QOut( "At top: " + LTrim( Str( RecNo() ) ) )
   DbCloseArea()

   RETURN

Output

See also