SELECT a.coid, Count(a.chkR) AS CountOfchkR, DCount("chkP","Table2","chkP and coid = " & [a].[coid]) AS chkP, DCount("chky","Table3","chkY and coid = " & [a].[coid]) AS chkY, DCount("chkb","Table4","chkB and coid = " & [a].[coid]) AS chkB
FROM Table1 AS a
WHERE (((a.coid)=[Enter COID]))
GROUP BY a.coid, DCount("chkP","Table2","chkP and coid = " & [a].[coid]), DCount("chky","Table3","chkY and coid = " & [a].[coid]), DCount("chkb","Table4","chkB and coid = " & [a].[coid])
HAVING (((Count(a.chkR))=True));