Returns the number of active indexes in a specified work area or .MDX index file.

Syntax

TAGCOUNT([<.mdx filename> [,<alias>]])

<.mdx filename expC>

The .MDX file you want to check. The .MDX must be opened in the specified work area.

<alias>

The work area you want to check.

Description

TAGCOUNT( ) returns the total number of open indexes or the number of index tag names in a specified .MDX file. TAGCOUNT( ) returns 0 if there are no indexes or index tags open for the current or specified work area, or if the .MDX index file specified with <.mdx filename expC> does not exist. If you do not specify an .MDX file name, TAGCOUNT( ) returns the total number of indexes in the specified work area: the number of open .NDX files, plus the total number of tags in all open .MDX files. If you do not specify an alias, TAGCOUNT( ) returns the total number of indexes in the current work area.

OODML

No equivalent.