Difference between revisions of "FCOUNT()"
From Recital Documentation Wiki
		
		
		
| Helengeorge  (Talk | contribs)  (→Class) | Helengeorge  (Talk | contribs)  | ||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| ==Purpose== | ==Purpose== | ||
| Function to count fields contained in a table | Function to count fields contained in a table | ||
| Line 28: | Line 26: | ||
| ==Products== | ==Products== | ||
| − | Recital  | + | Recital Server, Recital   | 
| [[Category:Documentation]] | [[Category:Documentation]] | ||
| [[Category:Functions]] | [[Category:Functions]] | ||
Revision as of 17:11, 27 November 2009
Purpose
Function to count fields contained in a table
Syntax
FCOUNT([<workarea | alias>])
See Also
AFIELDS(), DBF(), DISPLAY STRUCTURE, FIELD(), FILTER(), FMT(), NFCOUNT(), NDX(), SET FIELDS
Description
The FCOUNT() function returns the number of fields in the active table. If the optional <workarea | alias> is specified, then the function will operate in the required location. The command SET FIELDS will affect the value returned by the FCOUNT() function.
Example
use accounts do while i <= fcount() ? field(i) ++ i enddo
Products
Recital Server, Recital
