<< Click to Display Table of Contents >> Navigation: Apollo API Listing > sx_IsEncrypted |
Declare Function sx_IsEncrypted Lib "Apollo9.dll"()
(ByVal iFileOrRec as Integer)
As Integer
BOOL FAR PASCAL sx_IsEncrypted
(SHORT iFileOrRec);
Determines whether the current record or file is encrypted.
iFileOrRec: If 0 is passed, the return is for the file. If 1 is passed, the return is for the current record.
True if the file or record is encrypted.
If sx_IsEncrypted(0) Then
sx_SetPassWord "pickwick"
End If
if (sx_IsEncrypted(0))
sx_SetPassword("pickwick");