C
connieharper
I can't figure out how to print this report. It is an
attendance report for a particular month. There is one
record per day of attendance in the table. The user wants
to have columns across the top that indicate the day of
the month. The columns go from 1 - 31. The query should
read the attendance record and determine what day of the
month it is and then put that number in the appropriate
column on the report. Example: Looking at the report
layout below, Student #1 was present 3 hours on December
1 and was not present at all on December 2. Student 2 was
no present on Dec. 1 or 2 but was present on December 4
for 4 hours, etc. Using DATEPART I figured out how to
get the day of the month from the date field in the
attendance file but I can't figure out how to get the
records to print across the report for the whole month.
Here's an outline of the columns and heading:
July 2003
Day of Month: 1 2 3 4 5 6 7 8 9 10 etc.
Student 1 HRS: 3 0 2 3 2.5 0 1 0 0 4
Student 2 HRS: 0 0 1 4 1.5 0 0 6 1 0
Hrs Totals 3 0 3 7 4.0 0 1 6 1 4
attendance report for a particular month. There is one
record per day of attendance in the table. The user wants
to have columns across the top that indicate the day of
the month. The columns go from 1 - 31. The query should
read the attendance record and determine what day of the
month it is and then put that number in the appropriate
column on the report. Example: Looking at the report
layout below, Student #1 was present 3 hours on December
1 and was not present at all on December 2. Student 2 was
no present on Dec. 1 or 2 but was present on December 4
for 4 hours, etc. Using DATEPART I figured out how to
get the day of the month from the date field in the
attendance file but I can't figure out how to get the
records to print across the report for the whole month.
Here's an outline of the columns and heading:
July 2003
Day of Month: 1 2 3 4 5 6 7 8 9 10 etc.
Student 1 HRS: 3 0 2 3 2.5 0 1 0 0 4
Student 2 HRS: 0 0 1 4 1.5 0 0 6 1 0
Hrs Totals 3 0 3 7 4.0 0 1 6 1 4