G
Guest
Hello:
I’m a software trainer and we register students for our training courses so
I’m in the process of designing a traditional Many to Many application that
will track student registration, the courses taken by each student, and the
ability to confirm registrations via email. So far, I have a traditional Many
to Many to design that does only part of what we need.
tblClasses [ClassID is the primary key]
tblStudents [StudentID is the primary key]
tblLInk [junction table that contains ClassID and StudentID]
tblCourses CourseNo and CourseName
So far, 2/3 of the application’s apparently working well. I can track the
students assigned to each class and which classes each student took. However,
there’s a 3rd component that’s equally important, if not more important, we
need to query the COURSES taken by each student.
In my tentative design, I’ve placed CourseNo and CourseName in tblClasses
The first 3 fields in tblClasses are:
ClassID
CourseNo
CourseName
The first 4 fields of tblLink are:
ClassID
StudentID
Confirmed
Completed
Unfortunately, I don’t think the above design will give me the information
we need to track courses taken for each student. How can I design the
application so we can run a query that will tell us which courses each
student completed? See below for samples of the courses taken from tblCourses.
CourseNo CourseName
------------- ------------------
001 Access I
002 Excel I
003 Outlook I
004 Access II
005 Excel II
006 Outlook II
Thanks,
Robert
I’m a software trainer and we register students for our training courses so
I’m in the process of designing a traditional Many to Many application that
will track student registration, the courses taken by each student, and the
ability to confirm registrations via email. So far, I have a traditional Many
to Many to design that does only part of what we need.
tblClasses [ClassID is the primary key]
tblStudents [StudentID is the primary key]
tblLInk [junction table that contains ClassID and StudentID]
tblCourses CourseNo and CourseName
So far, 2/3 of the application’s apparently working well. I can track the
students assigned to each class and which classes each student took. However,
there’s a 3rd component that’s equally important, if not more important, we
need to query the COURSES taken by each student.
In my tentative design, I’ve placed CourseNo and CourseName in tblClasses
The first 3 fields in tblClasses are:
ClassID
CourseNo
CourseName
The first 4 fields of tblLink are:
ClassID
StudentID
Confirmed
Completed
Unfortunately, I don’t think the above design will give me the information
we need to track courses taken for each student. How can I design the
application so we can run a query that will tell us which courses each
student completed? See below for samples of the courses taken from tblCourses.
CourseNo CourseName
------------- ------------------
001 Access I
002 Excel I
003 Outlook I
004 Access II
005 Excel II
006 Outlook II
Thanks,
Robert