Create a new query in SQL View and paste this in the window:
SELECT tblGroup.Code, Count(tblGroup.Code) AS CountOfCode
FROM tblGroup
GROUP BY tblGroup.Code
WITH OWNERACCESS OPTION;
Change tblGroup (everywhere it appears) to your table name.
Regards,
Beth M
|