|
| |
Deletes primary or secondary index
function PXKeyDrop
(TblName : String; { name of table to del index for }
IndexID : FieldHandle): Int; { 0 if prim key, else fld number }
{ of secondary index }
Errors: PXERR_TABLEWRITEPRO 22 Table is write protected
PXERR_OUTOFRANGE 31 Argument out of range
PXERR_TABLENOTINDEXED 95 Table is not indexed
PXERR_INVTABLENAME 99 Invalid table name
PXERR_TABLENOTFOUND 120 Table was not found
PXERR_SXNOTFOUND 121 Secondary index was not found
PXERR_SXCORRUPTED 122 Secondary index is corrupted
PXERR_TABLEBUSY 118 Table is busy
PXERR_TABLELOCKED 119 Table is locked
PXERR_INSUFRIGHTS 21 Insufficient password rights |