Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dflastrec()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfLastRec()
Permits to know the number of records in a database
------------------------------------------------------------------------------
Syntax:

     dfLastRec(<cFile>,<cDriver>) --> nRec

Parameters:

     <cFile>    Files to control
     <cDriver>  Driver used for the creation of the file

Returns:

     <nRec> Number of records in the file

Description:

     Permits to know the number of record within a database. This function
     doesn't use the RDD engines of Clipper therefore can be useful in the
     case of a small application that doesn't have a linked in database
     engine.

Example:

     // Returns the number of record of the DBDD
     ? dfLastRec( "dbdd," "dbfntx")

See also:

     ddUse(), dfUse()

See Also: ddUse() dfUse()

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