Difference between revisions of "RECCOUNT()"

From Lianjapedia
Jump to: navigation, search
(Products)
 
m (1 revision)
(No difference)

Revision as of 05:56, 25 October 2011

Purpose

Function to return the number of records in table


Syntax

RECCOUNT([<workarea | alias>])


See Also

RECSIZE(), DBF(), NDX(), HEADER(), FCOUNT(), INDEXKEY()


Description

The RECCOUNT() function returns a number representing the total number of records in the currently selected table. This number includes records that have been marked for deletion. If the optional <workarea | alias> is specified, then the function will operate in the required location.


Example

use accounts
? reccount()
      2500
? fcount()
        18
declare aAccounts[reccount(),fcount()]
copy to array aAccounts for empty(paid_date)


Products

Recital, Recital Server