I need to determine how many CLASSES there were between certain dates so I can get an average attendance per class. I can't figure out how to go about it. Here is my current query:
GExD = Date of class
GExTme = Time of class
GExCls = Name of class
GExLoc = Location of class
Any help is appreciated! Thank you!!!
Code:
SELECT qryGrpEx.GExLoc, tblGrpExCls.ClsNames, Format([GExD],"dddd") AS [Day], qryGrpEx.GExTme, Count(qryGrpEx.PID) AS [Total Attendance]
FROM qryGrpEx INNER JOIN tblGrpExCls ON qryGrpEx.GExCls = tblGrpExCls.ClsCode
WHERE (((qryGrpEx.GExD) Between [Forms]![fdlgOps]![txtStart] And [Forms]![fdlgOps]![txtEnd]))
GROUP BY qryGrpEx.GExLoc, tblGrpExCls.ClsNames, Format([GExD],"dddd"), qryGrpEx.GExTme
ORDER BY qryGrpEx.GExLoc;
GExD = Date of class
GExTme = Time of class
GExCls = Name of class
GExLoc = Location of class
Any help is appreciated! Thank you!!!