[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| FCOUNT |
+---------------------------------+
FCOUNT([<expN> | <expC>])
-----------------------------------
Returns number of fields in open database.
Return value - Numeric
-----------------------------------
<expN> | <expC>
Work area number or alias.
If no database is open in the indicated work area, 0 is returned.
+---------------------------------+
| Examples |
+---------------------------------+
CLOSE ALL
SELECT 0
USE salesrep
SELECT 0
USE customer
? FCOUNT('CUSTOMER') && number of fields in Customer.dbf
? FCOUNT('SALESREP') && The number of fields in Salesrep.dbf
-----------------------------------
See Also: DBF(), FIELD(), FCHSIZE(), FCLOSE(), FCREATE(), FEOF(),
FERROR(), FFLUSH(), FGETS(), FOPEN(), FPUTS(), FREAD(), FSEEK(),
FSIZE(), FWRITE()
-----------------------------------
See Also:
DBF()
FIELD()
FCHSIZE()
FCLOSE()
FCREATE()
FEOF()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson