TAGCOUNT( ) Function

Returns the number of .cdx compound index file tags and open .idx single-entry index files.

TAGCOUNT([CDXFileName [, nWorkArea | cTableAlias]])

Return Values

Numeric

Parameters

  • CDXFileName
    Specifies the name of a compound index file for which TAGCOUNT( ) returns the number of tags. If CDXFileName does not exist for the current table, you must specify the nWorkarea or cTableAlias in which it does exist.

    If you omit CDXFileName, TAGCOUNT( ) returns the number of tags in all .cdx compound index files and open .idx single-entry index files in the currently selected work area or alias.

  • nWorkarea
    Specifies the work area of the table for which TAGCOUNT( ) returns the number of tags for the .cdx compound index file.

  • cTableAlias
    Specifies the alias of the table for which TAGCOUNT( ) returns the number of tags for the .cdx compound index file.

Remarks

Included for compatibility with dBASE.

See Also

INDEX Command | TAGNO( ) Function