check box is locked it already have automatic value i will not make any manual checking
so i just want to disable the button JV-Post when the check box value is yes
in other way
main idea for user is that if the check box is yes then he donot need to click button JV-Post
Private Sub Form_Current()
' the enabled state of the command button
' is the inverse of the value of the checkbox
Me.cmdButton.Enabled = Not Me.chkBox
End Sub
Private Sub Form_Current()
' the enabled state of the command button
' is the inverse of the value of the checkbox
Me.cmdButton.Enabled = Not Me.chkBox
End Sub