I have a form that will be the warning banner entry point to my database. The Form will have an explanation of the rules and then a check box("ckAccept") if you agree to the rules. I want to make it mandatory that you check the box before you are able to see the Accept button to go into the database. I found this code but it doesn't seem to work.
Private Sub ckAccept_Click()
If Forms![WarningBanner]![ckAccept] = True Then
Me.Accept.Visible = True
Else
Me.Accept.Visible = False
End If
End Sub
I have set the Accept button to be invisible to start and want it to be visible after the check box is checked. Can you guys help me correct my VBA? Thanks for the help.
Private Sub ckAccept_Click()
If Forms![WarningBanner]![ckAccept] = True Then
Me.Accept.Visible = True
Else
Me.Accept.Visible = False
End If
End Sub
I have set the Accept button to be invisible to start and want it to be visible after the check box is checked. Can you guys help me correct my VBA? Thanks for the help.
