AdsDecryptRecord

Advantage Client Engine

Decrypts the current record after encryption has been enabled.

Syntax

UNSIGNED32

AdsDecryptRecord( ADSHANDLE hTable );

Parameters

hTable (I)

Handle of a table.

Remarks

AdsDecryptRecord decrypts the current record in a table with the current password set via AdsEnableEncryption. If the record is not encrypted, it is ignored.

Note AdsDecryptRecord only accepts table handles. The use of a cursor handle with this API is illegal and will result in an error. See AdsExecuteSQL for more details.

 

Note AdsDecryptRecord 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.

Example

Click Here

See Also

AdsEnableEncryption

AdsIsRecordEncrypted

AdsIsEncryptionEnabled

AdsEncryptRecord