Thanks, but do you have any idea of the code i need for the If statement? Have tried numerous times but i dont understand what i am doing wrong.
For example
If Properties("AllowBypassKey", dbBoolean, True) Then
MsgBox "Warning"
Else
or
If (AllowBypassKey.Properties = True) Then...