Function RecCount() Foundation

Returns the number of records in a work area.

RecCount() --> nRecords

The return value of RecCount() is a integer numeric value indicating the number of physical records in a work area. When no records are available or no file is open in the work area, the value zero is returned.


The function RecCount() exists only for compatibility reasons. LastRec() should be used instead of RecCount().

The database function RecCount() returns the number of records in a work area. It does not consider active filter conditions. When the function is used without the alias operator, it gives the number of data records in the current work area.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.