<< Click to Display Table of Contents >> Navigation: Apollo API Listing > sx_IndexKeyField |
Declare Function sx_IndexKeyField Lib "Apollo9.dll" () As String
LONG FAR PASCAL sx_IndexKeyField (VOID);
Extracts the name of the first field in an index key expression. Useful for constructing dynamic optimized queries.
The name of the first field in the current index key expression. If the index is not based upon a field, a zero length string is returned (e.g., str(recno,5,0)).
Dim FieldName As String
FieldName = sx_IndexKeyField()
BYTE caFieldName[11];
lstrcpy((LPSTR) caFieldName, (LPSTR) sx_IndexKeyField());