Negative Value When Counting Yes/No

Windsor302

Registered User.
Local time
Today, 10:40
Joined
Jul 13, 2011
Messages
56
Hey guys, I need to calculate the percentage of rejected. I have a column for accept and one for reject. I want it to count when true in accept and reject, when i try this it shows up as a negative value? Any idea what i doing wrong? Thanks.
 
Are you sure you are counting rather than summing?
 
access actually stores yes = -1 and no = 0

so you are probably summing, and the value you get is the number of true values, surprisingly.
 
Access stores True as -1 if you want to sum all true's then wrap the Field with ABS() function to convert to positive numbers

ex

Sum(Abs([Yes/No Field]))

JR
 
Thanks for the input, I am summing because when i tried counting it just counted every box checked or not.
 

Users who are viewing this thread

Back
Top Bottom