J
JohnB
Hi.
I fear that this is going to have an incredibly easy answer but I can't see
it. Sorry if it's long winded.
I have a a number of related tables: tblStudents, tblMentors, tblSchools and
tbl Placements. tblPlacements acts as a cross connection table. A Placement
subform allows Placement records to be created for each Student and then
combos are used in each Placement subform record to allocate a School and a
Mentor.
tblMentors comprises Subject Mentors and Professional Mentors and the
Placement subform has a combo for each - the Subject Mentor combo puts the
chosen MentorID in the SubjectMentorID field and the Professional Mentor
combo puts the chosen MentorID in the ProfessionalMentorID field.
The problem I have is in producing a query that shows a listing of all
Subject and Professional Mentors that are allocated to placements. I can
produce a query that shows all Subject Mentors (by linking
tblMentors.MentorID to tblPlacements.SubjectMentorID) and another that shows
all Professional Mentors (by linking tblMentors.MentorID to
tblPlacements.ProfessionalMentorID) but I can't produce a query that lists
them all in terms of seperate records. i.e.
Joe Bloggs English Mentor Grange School Student: Sarah Jones
Fred Jones Professional Mentor Grange School Student: Sarah Jones
The reason I want this is to feed a MailMerge. A letter has to go to each
Subject and Professional Mentor.
Any ideas on this please? I can supply SQL for the two seperate queries I've
produced, if it will help. The way I envisage this is that I want to be able
to take the first queries list of records and stack them on top of the second
queries list. A bit like using an append query to add records to a table.
JohnB
I fear that this is going to have an incredibly easy answer but I can't see
it. Sorry if it's long winded.
I have a a number of related tables: tblStudents, tblMentors, tblSchools and
tbl Placements. tblPlacements acts as a cross connection table. A Placement
subform allows Placement records to be created for each Student and then
combos are used in each Placement subform record to allocate a School and a
Mentor.
tblMentors comprises Subject Mentors and Professional Mentors and the
Placement subform has a combo for each - the Subject Mentor combo puts the
chosen MentorID in the SubjectMentorID field and the Professional Mentor
combo puts the chosen MentorID in the ProfessionalMentorID field.
The problem I have is in producing a query that shows a listing of all
Subject and Professional Mentors that are allocated to placements. I can
produce a query that shows all Subject Mentors (by linking
tblMentors.MentorID to tblPlacements.SubjectMentorID) and another that shows
all Professional Mentors (by linking tblMentors.MentorID to
tblPlacements.ProfessionalMentorID) but I can't produce a query that lists
them all in terms of seperate records. i.e.
Joe Bloggs English Mentor Grange School Student: Sarah Jones
Fred Jones Professional Mentor Grange School Student: Sarah Jones
The reason I want this is to feed a MailMerge. A letter has to go to each
Subject and Professional Mentor.
Any ideas on this please? I can supply SQL for the two seperate queries I've
produced, if it will help. The way I envisage this is that I want to be able
to take the first queries list of records and stack them on top of the second
queries list. A bit like using an append query to add records to a table.
JohnB