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

IS_KEY( xcKey_expr )

Purpose

Determine if an expression equals the key of an open index for the current
work area.

Arguments

     xcKey_expr -- expression to check

Setup

Key expression passed must be a valid expression, such as a field name.

Example

     LOCAL exp1 := "Account_No", ;
           exp2 := "+Order_Num"
     CHK_DICT( "AAI_DICT" )
     ? ORDERS->( IS_KEY( exp1 ) )     && Returns .F.
     ? ORDERS->( IS_KEY( exp1 + exp2 ) )      && .T.

Returns

.T. if xcKey_expr is the key of an open index, else .F.

Side Effects

None.

Artful Calls

None.

Source File

AA_ISKEY.PRG

See Also: SET_INDEX() SET_ORDER() GET_ORDER()

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