Each time you move to a new record your counter is cleared. You should declare a Class-specific variable (in the top of your VBA code, before any other subs.
However, I still think there are some logical problems with your form and the code.
First, there is no need to use the ".Value" property of your check box, as that is the default property. Second, the check box returns a Boolean value, not a Text value (as you have indicated with the "-1". A more efficient way to achieve the same thing is:
- If Me.Check769 Then
-
Reason1 = "Diagnosis not Included in CPOE."
-
Count1 = Count1 + 1
-
'MsgBox "I have added the count"
-
Else
-
Reason1 = " "
-
End If
Notice the removal of the second If...Then.
Are you just counting how many times you lick the check box or are you counting records that have the box checked? This is not clear from your discussion or code.