M
MAnneken
Guest
I am trying to get a query to return a value of 0. The COUNT function works as long as a value exists in the field.
The table is called SSRI
The field is named TS-B
TS-B can have 5 different values NO,NTA,NDP,MP,SP
TS-B is required to have one of those 5 values.
If a set up a query with column 1: Field TS-B, Table SSRI, Total- "Group by", criteria "MP" and column 2: Field TS-B, Table SSRI,Total- "Count", this query works to total the rows that have MP if MP exists.
How can I get this query to return a "0", if there are not any entries for MP?
Thanks for your help
The table is called SSRI
The field is named TS-B
TS-B can have 5 different values NO,NTA,NDP,MP,SP
TS-B is required to have one of those 5 values.
If a set up a query with column 1: Field TS-B, Table SSRI, Total- "Group by", criteria "MP" and column 2: Field TS-B, Table SSRI,Total- "Count", this query works to total the rows that have MP if MP exists.
How can I get this query to return a "0", if there are not any entries for MP?
Thanks for your help