C
charles.kendricks
I have a form that allows the user to choose between several times of
day represented by check boxes. Two of those times of day I want to be
mutually exclusive, so that if one is set to True (checked), the other
is automatically, and immediately set to False. I thought that a
simple IF statement would do the trick but it doesn't seem to work:
If Waking.Value = True Then
Morning.Value = False
ElseIf Morning.Value = True Then
Waking.Value = False
End If
My thinking is that perhaps the On_Current event for the form is not
the right place to put the code, am I at least on the right track?
day represented by check boxes. Two of those times of day I want to be
mutually exclusive, so that if one is set to True (checked), the other
is automatically, and immediately set to False. I thought that a
simple IF statement would do the trick but it doesn't seem to work:
If Waking.Value = True Then
Morning.Value = False
ElseIf Morning.Value = True Then
Waking.Value = False
End If
My thinking is that perhaps the On_Current event for the form is not
the right place to put the code, am I at least on the right track?