
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Paradox Engine 3.0 for C - <b>syntax:</b>pxkeymap(char *tblname, int nfields, fieldhandle *fldhandles
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax:PXKeyMap(char *tblName, int nFields, FIELDHANDLE *fldHandles
char *fldName, int mode, FIELDHANDLE *indexId);
Args: tblName - string containing name of table without extension
nFields - number of fields to be used in index (16 max)
fldHandles - array of field handles to be used in index
fldName - name by which new index will be known (25 chars. max)
mode - 0 for case sensitive
1 for case insensitve
indexId - the returned field handle for this index
Returns: PXSUCCESS (0) or error number
Synopsis: Maps a group of fields to a single index field handle which
is returned via indexId. This field handle can then be used with
PXKeyAdd to create the index.
Note that the name given in fldName may be the same as another field
int the same record. However, if it is, PXFldHandle will only return
the handle of the field, not the index.
The handles passed in fldHandles cannot be blob fields, nor can
they be other composite or case-insensitive indices. That is to say,
the field handle values must be less than 255.
See Also: Example PXKeyAdd PXKeyQuery PXTblOpen PXfldHandle
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson