Using Access 2000
I give up. I have worked at this puzzle for far too long. I have prodded it, poked it, thought about it, dreamed about it, worried it, to no avail. I resisted making this post for several days but ran out of ideas.
The database is for a Kiwanis club. It's principle function is to track members and their attendance.
A member is granted a perfect attendance award when he/she attends 52 meetings in any consecutive 12 month period. This is a compilation of Regular meetings attended plus Makeup meetings attended.
The relevant tables and their structure is as follows...
tblMembers
MemberID (PK)
LastName
PreferredName
tblAttendance
AttendanceID (PK)
MemberID (FK to tblMembers)
MeetingDate
Present(Yes/No)
MeetingID This field is related to MemberID in tblGuests, which tracks the guests that a member brings to meetings.
tblMakeupMeetings
MakeupID (PK)
MemberID (FK to tblMembers)
MakeupType (could be any of 9 different types)
MakeupDate
What I want to be able to produce is a report which lists the members, their Total attendance for a specific period of time - dates selected through text boxes on frmDateSelector. The report would list the member's name, the # of regular meetings attended, and the # of makeup meetings attended, during that period.
e.g.
Member Regular Meetings Makeup Meetings
Fred Amers 12 1
Susan Bond 4 8
Frank Frobisher 2 1
I can get a report for Regular meetings attended. I can also get a separate report for the Makeup meetings attended.
However, ideally, I would like to get this data into one report. And that looks like a straight-forward problem. However, I end up with any member who has attended on more than one regular and more than one makeup meeting date being listed in correspondingly multiple times in the report.
e.g.
Fred Amers 1 1 Total 2
Fred Amers 1 1 Total 2
Where, in fact, Amers attended 2 Regular meetings plus 1 Makeup meeting during the period selected.
I have tried Totals queries and combined the data. I have tried Union queries.
Any push in the correct direction would be wonderfully appreciated.
Thanks.
Tom
I give up. I have worked at this puzzle for far too long. I have prodded it, poked it, thought about it, dreamed about it, worried it, to no avail. I resisted making this post for several days but ran out of ideas.
The database is for a Kiwanis club. It's principle function is to track members and their attendance.
A member is granted a perfect attendance award when he/she attends 52 meetings in any consecutive 12 month period. This is a compilation of Regular meetings attended plus Makeup meetings attended.
The relevant tables and their structure is as follows...
tblMembers
MemberID (PK)
LastName
PreferredName
tblAttendance
AttendanceID (PK)
MemberID (FK to tblMembers)
MeetingDate
Present(Yes/No)
MeetingID This field is related to MemberID in tblGuests, which tracks the guests that a member brings to meetings.
tblMakeupMeetings
MakeupID (PK)
MemberID (FK to tblMembers)
MakeupType (could be any of 9 different types)
MakeupDate
What I want to be able to produce is a report which lists the members, their Total attendance for a specific period of time - dates selected through text boxes on frmDateSelector. The report would list the member's name, the # of regular meetings attended, and the # of makeup meetings attended, during that period.
e.g.
Member Regular Meetings Makeup Meetings
Fred Amers 12 1
Susan Bond 4 8
Frank Frobisher 2 1
I can get a report for Regular meetings attended. I can also get a separate report for the Makeup meetings attended.
However, ideally, I would like to get this data into one report. And that looks like a straight-forward problem. However, I end up with any member who has attended on more than one regular and more than one makeup meeting date being listed in correspondingly multiple times in the report.
e.g.
Fred Amers 1 1 Total 2
Fred Amers 1 1 Total 2
Where, in fact, Amers attended 2 Regular meetings plus 1 Makeup meeting during the period selected.
I have tried Totals queries and combined the data. I have tried Union queries.
Any push in the correct direction would be wonderfully appreciated.
Thanks.
Tom