Re: Entering Data
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Sat, 21 May 2005 11:21:10 +0800
The crucial thing is that one course may be offered multiple times over the
years, so students do not enrol in a course. They enrol in an instance of a
course.
Something like this:
Student: (One record for each student)
StudentID primary key (pk)
Surname
FirstName
...
Staff: (One record for each teacher)
StaffID pk
Surname
FirstName
Dept: (One record for each dept, e.g. English, Math):
DeptID pk
DeptName Name of the dept.
Course: (One record for each course)
CourseId pk
CourseName unique name for this course
DeptID the department that offers this course.
CourseInstance: (One record for each time a course is run.)
CourseInstanceID pk
CouseId Which course is being offered.
CourseStartDate When this instance of the course begins.
StaffID Who is running this course instance.
Enrol: (One record for each person enrolled in a CourseInstance)
EnrolId pk
StudentId who is enrolled
CourseInstanceId Which course instance they enrolled in.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"John" <John@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:06554C64-A8FA-483A-B9A3-C5B31D09EF77@xxxxxxxxxxxxxxxx
> Hi,
>
> I am working on a school database that has many courses and students.
>
> It was working fine until I realized that some students want to enroll
> into
> other courses. I want to avoid typing their information again and again
> if
> they have already taken a course with the school. Basicaly, under the
> same
> name, I want to see their courses taken or enrolled. Any help would be
> great. Thank you.
.
- References:
- Entering Data
- From: John
- Entering Data
- Prev by Date: Re: Primary key ContactID not migrating to subforms
- Next by Date: Re: Primary key ContactID not migrating to subforms
- Previous by thread: Entering Data
- Index(es):
Relevant Pages
|