Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function Crypter(pStrSent As String) As String
Dim i As Integer
Dim NewLetter As String
For i = 1 to Len(pStrSent)
NewLetter = Asc(Mid(pStrSent,i,1)) Xor 5
Crypter = Crypter & NewLetter
Next i
End Function
Dim NewPass As String
Dim Db As DAO.Database
Dim Rc As DAO.Recordset
Set Db = CurrentDb
Set Rc = Db.OpenRecordset("User's Table")
Do While Not Rc.EOF
Rc.Edit
NewPass = Crypter(Rc!PasswordField)
Rc!PasswordField = NewPass
Rc.Update
Rc.MoveNext
Loop
Set Rc = Nothing
Set Db = Nothing
Function ChangeProperty(strPropName As String, varPropType As Variant, varPropValue As Variant) As Integer
Dim dbs As Object, prp As Variant
Set dbs = CurrentDb
Const conPropNotFoundError = 3270
On Error GoTo Change_Err
dbs.Properties(strPropName) = varPropValue
ChangeProperty = True
Change_Bye:
Exit Function
Change_Err:
If Err = conPropNotFoundError Then ' Property not found.
Set prp = dbs.CreateProperty(strPropName, varPropType, varPropValue)
dbs.Properties.Append prp
Resume Next
Else
' Unknown error.
ChangeProperty = False
Resume Change_Bye
End If
End Function