Assistance with these check boxes, Please?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have three check boxes “Pending, Actioned & Completed†, I would like once
I select a check box the others would automatically deselect.
 
An option group instead of the separate check boxes will do what you
want.
 
Keensie,

To turn the others off, you need an AfterUpdate event procedure for each
checkbox. Code for the first one would be the following; others are simliar.

If Me![FirstCheckBox]=True Then
Me![SecondCheckBox] = False
Me![ThirdCheckBox] = False
End If

However, unless you have some unusual reason for using three separate
fields, this is an ideal application for an Option Group, which stores a
different value in a single field depending on the selection. Only one
option may be selected at any time, so no code is required to deselect the
others. An option group can use either radio buttons, checkboxes, or toggle
buttons.

Sprinks
 

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

Similar Threads


Back
Top