Share via


TAGNO( ) Function

Returns the index position for .cdx compound index file tags and open .idx single-entry index files.

TAGNO([IndexName [, CDXFileName [, nExpression | cExpression]]])

Return Values

Numeric

Parameters

  • IndexName
    Specifies the name of a .cdx compound index file tag or an open .idx single-entry index file for which TAGNO( ) returns the index position.
  • CDXFileName
    Specifies the name of a .cdx compound index file containing the name of the tag you specify with IndexName.
  • nExpression
    Specifies the work area of the table for which TAGNO( ) returns the index position for .cdx compound index file tags and .idx single-entry index files.
  • cExpression
    Specifies the alias of the table for which TAGNO( ) returns the index position for .cdx compound index file tags and .idx single-entry index files.

Remarks

TAGNO( ) returns 0 if a master index isn't set (the table is in natural record number order) and the optional parameters are omitted.

Included for compatibility with dBASE.

See Also

INDEX Command | TAGCOUNT( ) Function