Z
zapspan
Hi.
I use an access database to keep track of student attendance at a language
lab. Each record is an "attendance event". At the end of the semester, I
print out a report, organized by professor and then by student, of hours of
lab attendance accumulated during the semester, using the running total
option.
However, I would like to do some potentially complicated manipulations of
the data, and I'm not sure in which component of access to do this and how to
do this. What I'd like to do is the following:
1) if a given student has attended language lab for more than 2 hours in a
day, then the total for that day should only be 2 hours [they can't earn more
than 2 hours in a day]. I have already figured out to make sure that any one
lab attendance event can only be a maximum of two hours long, but I don't
know what to do if a student has visited the lab more than once in a day,
since then it's the sum of all the visits for that day that can't be more
than 2 hours.
2) one particular professor disallows his students from earning more than 2
hours per week, so I would like to calculate weekly totals for students for
that class and reduce any total over 2 to just 2 - I imagine that since the
other professors don't have this restriction, I would have to calculate two
totals for each student - the total not reflecting the 2-hr weekly max, and
the total reflecting the 2-hr weekly max, although if I could avoid this,
that would be great
3) I want to print out individual reports for each professor, rather than
just printing out one huge report and then have to cut pages with scissors.
Any help on any or all of these three areas would be greatly appreciated.
Thanks,
Mike
I use an access database to keep track of student attendance at a language
lab. Each record is an "attendance event". At the end of the semester, I
print out a report, organized by professor and then by student, of hours of
lab attendance accumulated during the semester, using the running total
option.
However, I would like to do some potentially complicated manipulations of
the data, and I'm not sure in which component of access to do this and how to
do this. What I'd like to do is the following:
1) if a given student has attended language lab for more than 2 hours in a
day, then the total for that day should only be 2 hours [they can't earn more
than 2 hours in a day]. I have already figured out to make sure that any one
lab attendance event can only be a maximum of two hours long, but I don't
know what to do if a student has visited the lab more than once in a day,
since then it's the sum of all the visits for that day that can't be more
than 2 hours.
2) one particular professor disallows his students from earning more than 2
hours per week, so I would like to calculate weekly totals for students for
that class and reduce any total over 2 to just 2 - I imagine that since the
other professors don't have this restriction, I would have to calculate two
totals for each student - the total not reflecting the 2-hr weekly max, and
the total reflecting the 2-hr weekly max, although if I could avoid this,
that would be great
3) I want to print out individual reports for each professor, rather than
just printing out one huge report and then have to cut pages with scissors.
Any help on any or all of these three areas would be greatly appreciated.
Thanks,
Mike