Part of my database is to track what events a student has attended, was excused from, or was absent. The tables look like this:
Events table:
EventID
EventDate
EventTypeCD
EventCD
EventTypeCD table:
EventTypeCD
EventType (Evening, Mandatory, Optional)
EventsStudents table:
SSN
EventID
EventStatusCD
EventsStatusCD table:
EventStatusCD
EventStatus (Present, Excused, Absent)
Students table:
SSN
Name
GY
My client is wanting a report that looks like this:
Evening Mandatory Optional
---------- --------- ---------
Name GY 2/2 2/9 2/3 2/7 2/4 2/6
John 2005 P E P P
Jane 2006 A P P P P
etc.
I have worked on this for many hours and cannot come up with a query that works. I can’t see how I can get the date as a header and then have each student be on one line. I thought I got close with a cross-tab query but then couldn’t get it to work in a report.
They also want reports like this:
Evening Mandatory Optional
---------------- ---------------- ----------------
Name Present Possible Present Possible Present Possible
John 2 4 3 3
Jane 3 4 2 3 1
etc.
and
Mandatory Optional
--------------------------------- ------------------
Name Present Excused Absent Tot. Poss. Present Tot. Poss.
John 5 1 1 7 0 2
Jane 6 1 0 7 1 1
etc.
I think I started with the hardest one but thought I'd show you what else I need.
Is it possible with Access to get this type of report? I am using Access XP.
Thanks (sorry this is so long),
Debbie
Events table:
EventID
EventDate
EventTypeCD
EventCD
EventTypeCD table:
EventTypeCD
EventType (Evening, Mandatory, Optional)
EventsStudents table:
SSN
EventID
EventStatusCD
EventsStatusCD table:
EventStatusCD
EventStatus (Present, Excused, Absent)
Students table:
SSN
Name
GY
My client is wanting a report that looks like this:
Evening Mandatory Optional
---------- --------- ---------
Name GY 2/2 2/9 2/3 2/7 2/4 2/6
John 2005 P E P P
Jane 2006 A P P P P
etc.
I have worked on this for many hours and cannot come up with a query that works. I can’t see how I can get the date as a header and then have each student be on one line. I thought I got close with a cross-tab query but then couldn’t get it to work in a report.
They also want reports like this:
Evening Mandatory Optional
---------------- ---------------- ----------------
Name Present Possible Present Possible Present Possible
John 2 4 3 3
Jane 3 4 2 3 1
etc.
and
Mandatory Optional
--------------------------------- ------------------
Name Present Excused Absent Tot. Poss. Present Tot. Poss.
John 5 1 1 7 0 2
Jane 6 1 0 7 1 1
etc.
I think I started with the hardest one but thought I'd show you what else I need.
Is it possible with Access to get this type of report? I am using Access XP.
Thanks (sorry this is so long),
Debbie