Avatar of SteveL13
SteveL13
Flag for United States of America asked on

Check at least one of three checkboxes

On a form I have three checkboxes.  At least one of them has to be checked.  If the user hasn't checked at least one of them I want a message box to let them know they have to select at least one of them and not let them proceed.   I tried this but it doesn't work because the user has to check all three.

    If Me.chkbxOne Or Me.chkbxTwo Or Me.chkbxThree = False Then
        MsgBox "You must select either One, Two, or Three."
    End If
Microsoft Access

Avatar of undefined
Last Comment
Dale Fye

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dale Fye

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SteveL13

ASKER
Thank you.
Dale Fye

glad to help
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck