I have a badly constructed database that I've inherited and don't really have time right now to rewrite the process the way it should be done. Bearing this in mind...
I have a table with a "Category" field, a "Target Met" field and a "Target Exceeded" field.
I have a query that counts all the "Yes" in the "Target Met" field and sorts them by category. I have the same query for the "Target Exceeded" field that counts "No".
My problem comes from the fact that sometimes there is no count for the "target exceeded" - that is the count is 0 since all the targets were met for a category. When this happens, that category doesn't show up in my results.
So the "Yes" query returns:
dsk 10
lap 7
sof 20
ids 20
prt 5
And the "no" query returns:
dsk 1
sof 2
ids 1
prt 1
I want to force a 0 into that category.
Any ideas?
I have a table with a "Category" field, a "Target Met" field and a "Target Exceeded" field.
I have a query that counts all the "Yes" in the "Target Met" field and sorts them by category. I have the same query for the "Target Exceeded" field that counts "No".
My problem comes from the fact that sometimes there is no count for the "target exceeded" - that is the count is 0 since all the targets were met for a category. When this happens, that category doesn't show up in my results.
So the "Yes" query returns:
dsk 10
lap 7
sof 20
ids 20
prt 5
And the "no" query returns:
dsk 1
sof 2
ids 1
prt 1
I want to force a 0 into that category.
Any ideas?