| 
 
  | 
                               Encrypts a table                               
function PXTblEncrypt
   (TblName          : String;               { name of table to encrypt     }
    Password         : String): Integer;     { password for encrypted table }
Errors: PXERR_TABLEWRITEPRO    22  Table is write protected
        PXERR_TABLEOPEN        83  Unable to perform operation on open table
        PXERR_INVTABLENAME     99  Invalid table name
        PXERR_TABLENOTFOUND   120  Table was not found
        PXERR_TABLEBUSY       118  Table is busy
        PXERR_TABLELOCKED     119  Table is locked
        PXERR_INSUFRIGHTS      21  Insufficient password rights | 
| 
 
  |