The RecCount property gets the current number of non-deleted records in the file.
<integerVal> = dbfile.RecCount
<integerVal> is of type *Integer8 and contains the current number of non-deleted records in the file.
The file must first be Opened before the record count is available.
If the file is a logical file, the record count returned is that of the base physical file.
The record count returned can differ for logical files depending upon the database engine.
DataGate Windows: The count is active records in the base file.
DB2/400: The count is the active records in the logical view. If the file is opened with QrySelect, the record count is the active records of the queried file, not the records returned for the query.
SQL Server: The count is the active records in the logical view. If the file is opened with QrySelect, the record count is the active records of the queried file, not the records returned for the query.
Namespace: ASNA.VisualRPG.Runtime
Assembly: ASNA Visual RPG Runtime (in ASNA.VisualRPG.Runtime.dll)
Platforms: Windows 2000 Professional SP4, Windows 2000 Server SP4, Windows Server 2003, Windows XP Professional SP2, Windows Vista Business Edition
ASNA.VisualRPG.Runtime
Database Class
Database Class Members
DCLDISKFILE
OPEN
RecNum Property