Hello,
I have an Attendance table with the following fields:
SSN
Date
Status (for ex, A = Absent, P = Present, E = Excused, etc)
I want a query that will give me a student who has been Absent 3 (or more) consecutive days (Status "A" greater than 2 days in a row). Keep in mind that by days, I means days the class meets, so it could be that the student was absent 10/19/11, 10/21/11, and 10/24/11 if the class meets on Mons, Weds, and Fridays. It's also important to note that if the class is meeting 40 times in a semester over a 90 day period, only those 40 actual meeting dates are in the table, not all 90 days.
Can anybody suggest an easy way to do this?
Thanks,
Al