IndexKey()

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 )

Compliance

Clipper

Platforms

All

Files

Library is rdd

Seealso

INDEXORD()

3 responses to “IndexKey()

  1. Pingback: Harbour All Functions – I | Viva Clipper !

  2. Pingback: Harbour Index / Order System Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.