Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

KEYFIELDS( cKey )

Purpose

Return an array of fields used in an index key expression.

Arguments

     cKey -- index key expression to search (for the fields used)

Setup

The table for which cKey is a key expression must be open and selected.

Example

     LOCAL _key := "UPPER( LAST_NAME ) + ;
                   UPPER( FIRST_NAME ) + ;
                   SUBSTR( ACCOUNT_NO, 1, 5 )"

     ADISPLAY( KEYFIELDS( _key ) )

Returns

An array containing the fields used in cKey.

Side Effects

None.

Artful Calls

FLDINKEY

Source File

AA_FLDKY.PRG

See Also: FLDINKEY()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson