INDEXKEY()

Yields the key expression of a specified index file.

Syntax

INDEXKEY(<nOrder>) --> <cIndexKey>

Arguments

<nOrder> Index order number

Returns

<cIndexKey> The index key

Description

This function returns a character string stored in the header of the index file

The index key is displayed for an index file that is designated by <nOrder>,its position in the USE...INDEX or SET INDEX TO command in the currently selected or designated work area.If there is no corresnponding index key at the specified order position,a NULL byte will be returned.
Examples
      USE TESTS NEW INDEX TEST1
      ? INDEXKEY(1)
Status

Ready

Compliance

This function is Ca-Clipper compliant

Platforms

All

Files

Library is rdd

See Also