Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Mach SIx v1.1c - Reference Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  m6_RecCount():

  Purpose:  Returns the number of indexed records found in last query.  Can
            be used with m6_dbEval() to create an odometer.

   Syntax:  m6_RecCount()

  Returns:  The number of indexed records found in last query.

     Note:  The return value includes records marked for deletion.
            Because of the dynamic nature of Mach SIx the exact of number
            of records found in the query is not exactly known until the
            query has actually completed.

  Example:

         #include "DBFSIX.CH"
         #include "MACHSIX.CH"

         USE Customer via "DBFSIX"

         SET INDEX TO Name, Salary, State, Age

         COUNT TO nCount FOR State = "CA" .or. Age = 25

         ? m6_RecCount()                                       //...256



See Also: m6_dbEval()

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