RECCOUNT( ) Function

Example   See Also

Returns the number of records in the current or specified table.

Syntax

RECCOUNT([nWorkArea | cTableAlias])

Returns

Numeric

Arguments

nWorkArea

Specifies the work area number for a table open in another work area.

RECCOUNT( ) returns 0 if a table isn't open in the work area you specify.

cTableAlias

Specifies the table alias for a table open in another work area.

Remarks

The value RECCOUNT( ) returns isn't affected by SET DELETED and SET FILTER.

RECCOUNT( ) without the optional arguments nWorkArea or cTableAlias returns the number of records in the table in the currently selected work area.