Checkbox validation rule

  • Thread starter Thread starter Jon
  • Start date Start date
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
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top