I have a table name table1 and a field that is formatted to 2 options, which is Yes and No. My question is how do I count up all of the Yes and all of the No's seperate on a Report?? Thanks!!
You just change the other side of the expression to reflect Apples and Oranges instead of Yes and No.
Like this.
Sum(IIf([FieldName] = "Apples",1,0))
Right now i tried the codes you gave me, and the Yes/No count works, but I tried
Sum(IIf([FieldName] = "Apples",1,0))
and it didn't work.
I do have the fieldname "Fieldname", and under that field is a drop down list of Apples and Orange.
When I try to view the report, it gave me a message:
This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to varioables.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.