A file must be opened in EXCLUSIVE mode for data encryption.
Function AX_DBFEncrypt() Professional
Encryption of a table.
AX_DBFEncrypt() --> lSuccess
This function returns the logical value .T. if the file is successfully encrypted. It returns .F. if the encryption failed. On a failure of the operation, the methods :getLastError() and :getLastMessage() of the DacSession object can be used to obtain information about the reason of the failure.
The function AX_DBFEncrypt() will encrypt a table using the password set with the AX_SetPass() function (or its command opponent).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.