If ((fnIsAdmin() = True) Or (fnIsGroupMember("RealUsers") = True)) Then
If CurrentDb.Properties("AllowSpecialKeys") = False Then
CurrentDb.Properties("AllowSpecialKeys") = True
MsgBox "You need to reopen the database.", vbInformation
DoCmd.Quit
End If
Else
If CurrentDb.Properties("AllowSpecialKeys") = True Then
CurrentDb.Properties("AllowSpecialKeys") = False
MsgBox "You need to reopen the database.", vbInformation
DoCmd.Quit
End If
End If
Users browsing this forum: sal21, TurnitinBot [Bot] and 3 guests