[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FCOUNT()

    FCOUNT() returns the number of fields in the current database.

Syntax

    FCOUNT()

Returns

    An integer value.

    FCOUNT() returns the number of fields of the database file open in the
    current work area.  If there is no database file open, FCOUNT() returns
    zero.

Usage

    FCOUNT() is useful in applications where you have created data-
    independent programs that can operate on any database file.  These
    include generalized import/export and reporting programs.  Typically,
    you can use FCOUNT() to establish the upper limit of FOR/NEXT or DO
    WHILE loops that process a single record at a time.  For example, to
    display the names of all fields in the current work area.

See Also: FIELD TYPE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson