I am trying to find out how many people have earned 10 or more points for a given day. If the earn the 10 or more points, i want a 2 to be the result, if not then a 0 or nothing.
If i use just >=10 in my query, i get the the expected number of results with the number of points showing. when i use IIf(>=10,2,0) then i get a smaller number of returns with all 0s when there should be a 2.
What i really want is that if points earned is equal or more than 10, then the result being a 2. If the criteria is not met, i dont want any return.
Any help is greatly appreciated.
If i use just >=10 in my query, i get the the expected number of results with the number of points showing. when i use IIf(>=10,2,0) then i get a smaller number of returns with all 0s when there should be a 2.
What i really want is that if points earned is equal or more than 10, then the result being a 2. If the criteria is not met, i dont want any return.
Any help is greatly appreciated.