Here is my problem. I have created a crossword puzzle in access and it works with the exception of this problem.
Im telling it this .

If Me.Text159 = "p" Then
Me.Text159.BackColor = 2263842
Else
Me.Text159.BackColor = 2237106


End If
If Me.Text160 = "h" Then
Me.Text160.BackColor = 2263842
Else
Me.Text160.BackColor = 2237106
End If
If Me.text71 = "I" then
Me.Text71.BackColor = 2263842
Else
Me.Text71.BackColor = 2237106
end If

(this is my "On Click" Event procedures)
If Me.Text159.BackColor And Me.Text160.BackColor And Me.Text71.BackColor = 2263842 Then
Me.Q7pts.Value = 10
Else
Me.Q7pts.Value = 0

This above statement is saying that if those text boxes do not = Green then in the Q7pts value box give me 10 points if they don't = green then my points value = 0

(This is my "After Update" event procedure)
If Me.Text159.BackColor And Me.Text160.BackColor And Me.Text71.BackColor <> 2263842 Then
Me.Q7pts.Value = 0
End If

This statement is saying that if the same boxes are not = to green then leave the value at 0. My thinking is I had to incorporate this because if the user is not paying attention and leaves a box blank, or inputs the wrong letter then it should subtract 10 points because what WAS correct got changed and is NO LONGER correct until the user corrects their mistake. However it is not SUBTRACTING 10 points if the wrong data is entered.

I did use format and grouping on the tool bar so it recognizes that series of text boxes as a group and not individual boxes however that did not seem to make a difference.

I need it to account for the user inputting the wrong info. or leaving something blank.

ANY SUGGESSTIONS??? Seems like it's something simple Im not doing. Thank you.