RDD

DbGoBottom()

Move to the last logical record

Syntax

Signature
DbGoBottom() --> NIL

Arguments

None.

Return value

NIL.

Description

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

Notes

An empty area becomes EOF.

Example

DbGoBottom.prg
PROCEDURE Main()

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

   RETURN

Output

See also