[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
COUNT

    COUNT tallies the number of records in the current work area to a
    memory variables within the specified scope and specified conditions.

Syntax

    COUNT [<scope>] [FOR <condition>] [WHILE <condition>] TO <memvar>

Argument

    <memvar> is a memory variable assigned the COUNT result.  If the
    variable does not exist or is not numeric type, COUNT creates it as
    numeric.

Options

    Scope: The <scope> is the portion of the current database file to
    COUNT.  The default is ALL.

    Condition: The FOR clause specifies the conditional set of records
    to COUNT within the given scope.  The WHILE clause specifies the set of
    records meeting the condition from the current record until the
    condition fails.

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