Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

COUNT_EM( [ xcCondition ] )

Purpose

Count records in a file, optionally for a condition.

Arguments

     xcCondition -- character expression to impose on the records in a
                        table. This is macro-expanded and must evaluate to
                        a logical

Setup

A table must be open and selected.

Example

     USE CUSTOMER
     ? COUNT_EM( "Balance > 500" )

Returns

The number of records satisfying condition.

Side Effects

Crash if no file open or xcCondition syntactically incorrect.

Artful Calls

VERIFY, GET_FILTER, STAT_LINE, POP_MSG

Source File

AA_COUNT.PRG

Notes

Displays the result automatically. If a filter is in place it confirms that
the user wishes to proceed (it could take time).

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson