| 
 |  | 
                 Return a field handle for a composite index                  
function PXKeyMap
  (TblName        : String;           { name of table for composite fields  }
   NFlds          : Integer;          { number of fields in composite index }
   var FldHandles : FieldHandleArray; { array of field numbers in index     }
   FldName        : NameString;       { field name associated with index    }
   Mode           : Integer;          { 0 = case-sens, 1 = case-insensitive }
   var IndexId    : FieldHandle): Int;{ returns field handle for comp index }
Errors: PXERR_INVPARAMETER       33  Invalid argument
        PXERR_INVTABLENAME       99  Invalid table name |