thanks for the link, that has actually helped a fair bit.
I've got this query so far:
Code:
SELECT DateDiff("ww",#9/27/2011#,Date()) AS NumberOfWeeks, [NumberOfWeeks]*4
AS [number of sessions], Count([attendance date]) AS [sessions attended], ([sessions attended]/[number of sessions]*100)
AS percentage
FROM StudAtt INNER JOIN Students ON StudAtt.Student = Students.StudentID;
This almost gives me exactly what I need. I can add a line that returns the attendance and the percentage for one student, but I want to know if theres a way I can return the individual percentages for all students in this one query?
thanks
currently this query counts the number of attendance dates