Click or drag to resize

TagNo Function

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

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax
 FUNCTION TagNo(
	IndexName,
	CDXFileName,
	uArea
) AS LONG CLIPPER
Request Example View Source

Parameters

IndexName (Optional)
Type: Usual
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 (Optional)
Type: Usual
Specifies the name of a .cdx compound index file containing the name of the tag you specify with IndexName.
uArea (Optional)
Type: Usual
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.
Or
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.

Return Value

Type: Long
Numeric
Remarks
TAGNO( ) returns 0 if a master index is not set (the table is in natural record number order) and the optional parameters are omitted. Included for compatibility with dBASE.
See Also