Well again, with your criteria of:
Like "*RASH*" Or Like "*LESION*" Or Like "*SORE*"
You are only counting records with these possibilities. If you want to count all records regardless of what type but have a 0 sum if it doesn't mach these criteria you'd have to have something more like:
Code:
SELECT tblEDPatients.fldVisitDate, Sum(IIf([fldrfv] Like "*rash*" Or [fldrfv] Like "*lesion*" Or [fldrfv] Like "*sore*",1,0)) AS CountEDWRashRFV, "EDWRash" AS SurvType
FROM tblEDPatients
GROUP BY tblEDPatients.fldVisitDate, tblEDPatients.fldEDLoc
HAVING (((tblEDPatients.fldEDLoc)="EDW"))
ORDER BY tblEDPatients.fldVisitDate;
Realistically you should have a table that stores the possible values of RFV with a unique identifier (autonumber is fine) and store the unique key in the fldRFV field. Then in your table that stores the RFV values you can also store a category or categories that would eliminate the need to 'hard code' for specific reason descriptions.