RECCOUNT()
Counts the number of records in a database.
- Syntax
- RECCOUNT()* | LASTREC() --> nRecords
- Arguments
- None.
- Returns
- <nRecords> The number of records
- Description
- This function returns the number of records present in the database in the selected or designated work area.If no records are present the value of this function will be 0.Additionaly,if no database is in use in the selected or designated work area,this function will return a 0 value as well.
- Examples
- Use Test NEW
- USE Harbour NEW
- ? Reccount()
- ? Test->(RECCOUNT())
- CLOSE ALL
- Status
Ready
- Compliance
- This function is CA-Clipper compliant
- Files
- Library is rdd
- See Also