Advantage Client Engine
Turns off Advantage encryption
UNSIGNED32 |
AdsDisableEncryption (ADSHANDLE hTable); |
hTable (I) |
Handle of a table or cursor |
AdsDisableEncryption turns off Advantage encryption for the specified table. This function is useful so that future updates will not cause the record to be written in an encrypted form. AdsDisableEncryption also allows you to write a previously encrypted record in its decrypted form. To do this, first set the password to what was originally used to encrypt the record via AdsEnableEncryption. Then read the record. Next clear the password via AdsDisableEncryption. Finally, update some data in the record. When the record is flushed, it will be written in its decrypted form.
Note Be sure to disable encryption before updating the record or else the record will be written in encrypted form to disk.
Note AdsDisableEncryption is only applicable with free tables. The encryption process is done automatically with database tables. ALTER permissions on the table are required to encrypt or decrypt database tables. See Advantage Data Dictionary for more information.