xHarbour Reference Documentation > Function Reference |
Moves the record pointer to last record.
DbGoBottom() --> NIL
The return value is always NIL.
The function moves the record pointer in the current or aliased work area to the last logical record. If no index or filter is set, this is the last physical record. Otherwise, it is the last record in logical order.
See also: | Bof(), DbGoto(), DbGoTop(), DbSeek(), DbSkip(), Eof(), GO, INDEX, SET FILTER, SKIP |
Category: | Database functions |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// The example demonstrates the effect of DbGobottom() PROCEDURE Main USE Customer ? Recno(), LastRec() // result: 1 225 DbGobottom() ? Recno(), LastRec() // result: 225 225 ? Eof() // result: .F. SKIP ? Eof() // result: .T. USE RETURN
http://www.xHarbour.com