Checkbox validation rule

J

Jon

Hello,

In form view, how do I do a very simple validation rule so that if a
checkbox is not ticked, it won't let me move on?

Thanks all,

Jon
 
T

tina

in the form's BeforeUpdate event procedure, add

If Me!CheckboxName = False Then
Cancel = True
Msgbox "Checkmark the box, please."
End If

replace CheckboxName with the correct name of the checkbox control, of
course.

hth
 
D

didi et dada

Jon said:
Hello,

In form view, how do I do a very simple validation rule so that if a
checkbox is not ticked, it won't let me move on?

Thanks all,

Jon
 
Top