We coach hearings for our clients. I have a simple database with entrys for each hearing. I have a query that starts with the contract month for our clients, and then brings back the hearings for each client within a time frame. What I really need is the total of hearings for each client, not the individual hearings.
I am unclear on how to add Count(). All help is appreciated.
Thank You
Alan
Senility at its finest
Code:
SELECT Q.T01CONDTM, H.[Date of Hearing], H.Company
FROM QAMAIN Q INNER JOIN [Hearing Data] H ON Q.COMPANY = H.Company
WHERE (((Q.T01CONDTM)=[Enter Contract Month]) AND ((H.[Date of Hearing]) Between [Enter Beginning Date] And [Enter Ending Date]))
WITH OWNERACCESS OPTION;
Thank You
Alan
Senility at its finest