FCOUNT()
Counts the number of fields in an active database.
- Syntax
-
- FCOUNT() --> nFields
- Returns
-
- <nFields> Return the number of fields
- Description
-
- This function returns the number of fields in the current or designated work area.If no database is open in this work area, the function will return 0.
Examples
FUNCTION Main()
USE Tests NEW
? "This database have ",Tests->(FCOUNT()),"Fields"
USE
RETURN Nil
- Status
- Ready
- Compliance
-
- This function is CA-Clipper compliant
- Files
-
- Library is rdd
- See Also