johnwiseman
MIS
I have a Query attached to a Table [tbl Main Input]. Two of the table columes are as follows.
ID - Autonumber datatype.
Error - Yes/No datatype
The Query [qry Errors Made] is simple.
ID - Count
ERROR - Group By - Criteria <>0
I have used the Criteria <> in ERROR to filter out the "NO" and leave just the "YES"
When the query is run the ID will return a COUNT of ERROR which are ticked YES. If there are 10 entrys in the table and 4 have errors the ID will display "4". Excellent just what i want it to do.
However If there are 10 entrys and there are no ERROR ticked Yes the ID returnes no value at all. Not what I want.
If there are no ERROR then I want the ID to display a "0".
Thanks in advance for your help...
John
ID - Autonumber datatype.
Error - Yes/No datatype
The Query [qry Errors Made] is simple.
ID - Count
ERROR - Group By - Criteria <>0
I have used the Criteria <> in ERROR to filter out the "NO" and leave just the "YES"
When the query is run the ID will return a COUNT of ERROR which are ticked YES. If there are 10 entrys in the table and 4 have errors the ID will display "4". Excellent just what i want it to do.
However If there are 10 entrys and there are no ERROR ticked Yes the ID returnes no value at all. Not what I want.
If there are no ERROR then I want the ID to display a "0".
Thanks in advance for your help...
John