Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>get the count of records in a dbf file.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson