Hi all,
I'm trying to build a database to track interviews. I'm calling the interviewees participants. One interview may involve between 1 to 4 participants. Each participant will (over time) be involved in many interviews. I'm thinking of the following table structure:
tblInterviews
InterviewID
InterviewDate
InterviewStartTime
InterviewStopTime
InterviewOutcome
tblParticipants
ParticipantID
ParticipantPrefix
ParticipantFirstName
ParticipantLastName
ParticipantDOB
tblInterviewsParticipants
InterviewParticipantID
InterviewID
ParticipantID
ParticipatingVia (i.e., Zoom, in person, phone)
After each interview, I need to write a letter that has the following sentence: "I interviewed ParticipantID1, ParticipantID2... (up to 4 participants) on InterviewDate. The interview commenced at InterviewStartTime and concluded at InterviewStopTime..." I'm running into trouble doing this using Mail Merge and Word.
Is there a query or some other way that I could output a table such that for each InterviewID in tblInterviewsParticipants, each related ParticipantID is put onto one row? For example, right now, the join table would look like:
InterviewID1 ParticipantID1
InterviewID1 ParticipantID2
InterviewID2 ParticipantID1
I need a table that looks like:
InterviewID1 ParticipantID1 ParticipantID2
InterviewID2 ParticipantID1, etc.
Any assistance will be appreciated. FYI, I'm a newbie and unfortunately not versed in VBA.