Advantage TDataSet Descendant
Returns the encrypted status of the current record.
function AdsIsRecordEncrypted (ulRecNum : Longint) : boolean;
|
ulRecNum |
Physical record number to check if encrypted, or 0 for active record. |
AdsIsRecordEncrypted will return True if the given record is encrypted. It will return False if the record is not encrypted.
AdsTable1.FindKey( [‘Smith’] );
if ( AdsTable1.AdsIsRecordEncrypted( 0 ) ) then
AdsTable1.AdsEnableEncryption( 'secret' );