I have a query that looks for the number of incompletions that a quarterback throws. If there are no incompletions, then I want to return a value of zero.
In the Field "Pass Play Status" I have set the criteria of "Incompletion"
If there are incompletions, then the following expression returns the proper number of incompletions:
Count of Incompletions: IIf(IsNull([Pass Play Status]),0,Count([Pass Play Status]))
However, if there are no incompletions, I get no values at all (Null).
I also tried:
Count of Incompletions: NZ(Count([Pass Play Status]),0)
but to no avail! Any ideas? Thanks!
In the Field "Pass Play Status" I have set the criteria of "Incompletion"
If there are incompletions, then the following expression returns the proper number of incompletions:
Count of Incompletions: IIf(IsNull([Pass Play Status]),0,Count([Pass Play Status]))
However, if there are no incompletions, I get no values at all (Null).
I also tried:
Count of Incompletions: NZ(Count([Pass Play Status]),0)
but to no avail! Any ideas? Thanks!
Last edited: