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

KEY_VALUE( cWhich[, cAlias[, xcKey[, lGoThere ]] )

Purpose

Return key value of the first, last, next, previous or current record.

Arguments

     cWhich -- "TOP", "BOTT", "NEXT", "PREV" or NIL for current record

     cAlias -- if passed, alias of table in which to look; defaults to
                   current table

     xcKey -- if passed, index key expression to use; defaults to
                  current one

     lGoThere -- if passed and .T., go to key found; defaults to return
                     to the current record

Setup

Files and indexes must be open and ready for use. Passed parameters
must be valid.

Example

     CHK_DICT( "AAI_DICT" )
     ? KEY_VALUE( "NEXT", "CUSTOMER", "ACCOUNT_NO" )

Returns

The key value of the specified record.

Side Effects

None.

Artful Calls

FILTR_TYPE, SET_ORDER

Source File

AA_KEYVL.PRG

See Also: INDEX_ON() GET_ORDER() SET_ORDER()

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