I wish to check the status of the ByPassKey property in a form module and have the following code (which doesn't work)
The syntax is wrong but I'm not sure how to test for the property value.
Any help appreciated.
Thanks
If IT ain’t working Binnit and Reboot
Code:
If dbs.Properties("allowbypasskey") = True Then
Me.cmdLockDB.Enabled = True
Me.cmdUnlockDB.Enabled = False
Else
Me.cmdUnlockDB.Enabled = True
Me.cmdLockDB.Enabled = False
End If
The syntax is wrong but I'm not sure how to test for the property value.
Any help appreciated.
Thanks
If IT ain’t working Binnit and Reboot