IndexKey

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods >

IndexKey

Declaration

function IndexKey: String;

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 IndexKey as a parameter to EvalString.

Delphi Example

// Get the currently active index key expression

sKeyStr := ApTbl.EvalString( ApTbl.IndexKey );

C++Builder Example

// Get the currently active index key expression

sKeyStr = ApTbl->EvalString( ApTbl->IndexKey() );

See Also

Index, IndexFileName, IndexType, Reindex