HI there,
I am running the following query in Access to get a distinct count. It produces the right results however when I try and save the query it crashes access. Can anyone see the problem with it.
Regards Mark
QUERY
SELECT Count(Client_ID) AS CountOfClientID FROM
(SELECT DISTINCT TblClassAttendance.Client_ID as
FROM TblClasses INNER JOIN TblClassAttendance ON TblClasses.ClassId = TblClassAttendance.ClassId
WHERE (((TblClasses.ClassDate) Between [start date] And [end date])));
I am running the following query in Access to get a distinct count. It produces the right results however when I try and save the query it crashes access. Can anyone see the problem with it.
Regards Mark
QUERY
SELECT Count(Client_ID) AS CountOfClientID FROM
(SELECT DISTINCT TblClassAttendance.Client_ID as
FROM TblClasses INNER JOIN TblClassAttendance ON TblClasses.ClassId = TblClassAttendance.ClassId
WHERE (((TblClasses.ClassDate) Between [start date] And [end date])));