I am using a query to count how many Departments there are according to a set of criteria. The count always shows a blank field if the field has nothing in it, How do I make this not show a blank field. I am including my sql below.
SELECT TOP 10 tbl_Cause_Code_Dashboard.Description, Count(tbl_Cause_Code_Dashboard.Description) AS CountOfDescription
FROM tbl_Cause_Code_Dashboard
WHERE (((tbl_Cause_Code_Dashboard.Plant)=[Forms]![frm_Cause_Code_Dashboard]![Plants]) AND ((tbl_Cause_Code_Dashboard.OEM_Model)=[Forms]![frm_Cause_Code_Dashboard]![Model]) AND ((tbl_Cause_Code_Dashboard.Cause_Code_Long)=[Forms]![frm_Cause_Code_Dashboard]![Cause_Code]))
GROUP BY tbl_Cause_Code_Dashboard.Description
ORDER BY Count(tbl_Cause_Code_Dashboard.Description) DESC;
SELECT TOP 10 tbl_Cause_Code_Dashboard.Description, Count(tbl_Cause_Code_Dashboard.Description) AS CountOfDescription
FROM tbl_Cause_Code_Dashboard
WHERE (((tbl_Cause_Code_Dashboard.Plant)=[Forms]![frm_Cause_Code_Dashboard]![Plants]) AND ((tbl_Cause_Code_Dashboard.OEM_Model)=[Forms]![frm_Cause_Code_Dashboard]![Model]) AND ((tbl_Cause_Code_Dashboard.Cause_Code_Long)=[Forms]![frm_Cause_Code_Dashboard]![Cause_Code]))
GROUP BY tbl_Cause_Code_Dashboard.Description
ORDER BY Count(tbl_Cause_Code_Dashboard.Description) DESC;