sx_IndexKey

<< Click to Display Table of Contents >>

Navigation:  Apollo API Listing >

sx_IndexKey

VB Declaration

Declare Function sx_IndexKey Lib "Apollo9.dll" () As String

C Declaration

LONG FAR PASCAL sx_IndexKey (VOID);

Description

Extracts the contents of the xBase key construction expression used by the current index as a string.

Return Value

The xBase key expression is returned as a string.

 

You may extract the current value of the key by passing the result of sx_IndexKey as a parameter to sx_EvalString.

VB Example

Dim KeyStr As String

KeyStr = sx_EvalString(sx_IndexKey())

C Example

BYTE caKeyValue[256];

lstrcpy((LPSTR) caKeyValue, (LPSTR) sx_EvalString(sx_IndexKey()));

See Also

sx_Index, sx_IndexName, sx_IndexType, sx_Reindex