Get the count of records in a DBF file.
──────────────────────────────────────────────────────────────────────────────
Syntax
GT_LastRec(<cFileName>) --> nNumberOfRecords
Arguments:
<cFileName> is the name of the DBF file. If the name has no
extension it defaults to DBF.
Returns:
The number of records in the DBF file.
Description:
GT_LastRec() is designed to be the same as the Clipper function
LastRec(). The main change is that it works on un-opened database
files.
Examples:
// Print the number of records in a database file.
? GT_LastRec("Life")
Source: LASTREC.PRG
Author: Dave Pearson