Associating Checked Boxes to Event Proc

  • Thread starter Thread starter Rui Soares via AccessMonster.com
  • Start date Start date
R

Rui Soares via AccessMonster.com

Hi,

I have a form with multi check boxes and I need to associate each check box
to an Event... but I need to process only the checked TRUE.

Anyone can help me???

RS
 
Your question is a little unclear. Events fire based on certain rules, so you
cannot prevent them from firing. What you can do is check the value of the
checkbox to see if you want to process the event:

If Not Me.MyCheckBox Then
Exit Sub
End If

As to associating text boxes to an event, I don't know if you mean write
code for an event for the check box, or in another control's events, or in
the form's events. In any case, it does not matter. You would use the same
logic.
 
Back
Top