R
Roger Ball
My db tracks attendance in a training course for 1,200+ students.
However, my 30 helpers were inconsistent in entering the data. My
training course is over now and I need to know which events had no
record enterted so I can have my helpers fill in the blanks.
Looking for a query that lists studentID, EventID and Iteration which
are not listed in tbl_Attendance.
tbl_Student
- StudentID
- L_Name
.....
tbl_Attendance
- AttendanceID
- StudentID
- EventID
- Iteration (repetition of the course scheduled, e.g 2, tbl_Events
specifies total for event, e.g 5)
- StatusID (corresponding to attended, absent, class cancelled, etc)
tbl_Events
- EventID
- Event (long name, eg "PE")
- Iterations (total number of iterations of event, could be 1 to 30)
E.G Event is "PE", there are 5 scheduled (tbl_Events.Iterations).
These are records in tbl_Attendance for student 314:
StudentID EventID Iteration StatusID
314 PE 1 1
314 PE 2 0
314 PE 4 2
314 PE 5 1
Query result should be for the missing record:
314 PE 3
Thanks for you consideration in solving this problem.
RB
However, my 30 helpers were inconsistent in entering the data. My
training course is over now and I need to know which events had no
record enterted so I can have my helpers fill in the blanks.
Looking for a query that lists studentID, EventID and Iteration which
are not listed in tbl_Attendance.
tbl_Student
- StudentID
- L_Name
.....
tbl_Attendance
- AttendanceID
- StudentID
- EventID
- Iteration (repetition of the course scheduled, e.g 2, tbl_Events
specifies total for event, e.g 5)
- StatusID (corresponding to attended, absent, class cancelled, etc)
tbl_Events
- EventID
- Event (long name, eg "PE")
- Iterations (total number of iterations of event, could be 1 to 30)
E.G Event is "PE", there are 5 scheduled (tbl_Events.Iterations).
These are records in tbl_Attendance for student 314:
StudentID EventID Iteration StatusID
314 PE 1 1
314 PE 2 0
314 PE 4 2
314 PE 5 1
Query result should be for the missing record:
314 PE 3
Thanks for you consideration in solving this problem.
RB