Click or drag to resize

DbServer.RecCount Property

The number of records in the current database file.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.7
Syntax
 VIRTUAL PROPERTY RecCount AS USUAL GET 
Request Example View Source

Property Value

Type: Usual
The number of records in the current database file.
Remarks
The number of records in the current database file.  Filtering commands such as SET FILTER or SET DELETED have no effect on the return value.  This access is identical to the :LastRec Access.
Examples
This example uses RecCount to define an access method to return the Size of the data server:
X#
1CLASS Sales INHERIT DBServer
2...
3ACCESS Size CLASS Sales
4RETURN (SELF:RecSize * SELF:RecCount) + ;
5SELF:Header + 1
See Also