TomHefferin
New member
- Local time
- Today, 20:17
- Joined
- Mar 21, 2016
- Messages
- 4
I am currently building a Training database to assign Trainees to particular Courses. One particular query is giving me issues.
It includes 2 join tables
I need to create a record set of Trainee details for those Trainees who do not have the required Mats for upcoming courses and which Mats they are missing.
The Record Set should:
The attachment shows an image of the query design I have so far. It fulfils 1-4, but my attempts to get it to show the correct 'missing Mats has failed. The grouping chooses the First Mats the Trainee has, rather than the Mats the course requires.
I would be interested to hear from anyone who can either explain how I can fix this, or offer alternatives.
Thanks in advance.
It includes 2 join tables
- tblCourseMats: Used to assign required course materials to a particular Course
- tblTraineeMats: Used to track which course materials a particular trainee already has.
I need to create a record set of Trainee details for those Trainees who do not have the required Mats for upcoming courses and which Mats they are missing.
The Record Set should:
- Not include Trainees who already have the required Mats (TraineeMats <> CourseMats)
- Include Trainees who don't have any Mats(not listed in tblTraineeMats)
- Only list a particular Trainee once (tblTraineeMats can contain several 'other' Mats)
- Include Date of Course (filtered to next 3 weeks)
- Include which Course Mats are missing
The attachment shows an image of the query design I have so far. It fulfils 1-4, but my attempts to get it to show the correct 'missing Mats has failed. The grouping chooses the First Mats the Trainee has, rather than the Mats the course requires.
I would be interested to hear from anyone who can either explain how I can fix this, or offer alternatives.
Thanks in advance.
Attachments
Last edited: