Hi guys,
I have a form with 15 check boxes on all together. I want the "15th check box" to check to true automatically when the other 14 have been manually checked.
I have used a Tag for all of the other 14 check boxes they are tagged with the word "FILL". Here is my code:
Private Sub Check212_AfterUpdate()
Dim cntrl As Control
For Each ctrl In Me.Controls
If ctrl.Tag = "FILL" Then
If IsTrue(ctrl) Or Len(ctrl) = -1 Then
Check212 = True
End Sub
Check 212 is my 15th Check Box. I am pretty new to access so I apologize if I have made a newb mistake.
Thanks for any help in advance guys!
I have a form with 15 check boxes on all together. I want the "15th check box" to check to true automatically when the other 14 have been manually checked.
I have used a Tag for all of the other 14 check boxes they are tagged with the word "FILL". Here is my code:
Private Sub Check212_AfterUpdate()
Dim cntrl As Control
For Each ctrl In Me.Controls
If ctrl.Tag = "FILL" Then
If IsTrue(ctrl) Or Len(ctrl) = -1 Then
Check212 = True
End Sub
Check 212 is my 15th Check Box. I am pretty new to access so I apologize if I have made a newb mistake.
Thanks for any help in advance guys!