G
Guest
Sorry my first question the format changed and moved the table structure.
This database has a few tables some of which are:
tblCourseOccurence
tblDivision (this is the same as a class)
tblStudentCourses
tblCourseExams
tblExamResults
briefly I can have many Divisions on a course, many students to a division,
many exams to a division and inturn the student and many exam results to a
student.
What I am trying to do is when a student is enrolled to a division on a
course I want certain fields from the tblStudentCourses table to populate the
same fields in the tblExamResults table.
And then when we create an exam that is attached to a division I want
certain fields from the tblCourseExams table to populate the same fields in
the tblExamResults table. I have tried an update query but it just will not
play the game for me it’s probably something really stupid but I just can’t
see it.
The tables are structured as below (not all fields but the main ones):
tblDivision tblStudentCourses
tblCourseExams DivisionID AutoNO StudentCourseID AutoNO
CourseExamID AutoNO
CourseName DivisionID
DivisionID
DivisionName StudentPersonalNumber ExamName
tblExamResults
CourseExamID (populated as exams are created)
ExamName (populated as exams are created)
DivisionID (populated as student is added to
division)
StudentCourseID (populated as student is added to division)
StudentPersonalNumber (populated as student is added to division)
I have tried to do this with a query but how the relationships are I can’t.
any help would be appreciated
Rodney
This database has a few tables some of which are:
tblCourseOccurence
tblDivision (this is the same as a class)
tblStudentCourses
tblCourseExams
tblExamResults
briefly I can have many Divisions on a course, many students to a division,
many exams to a division and inturn the student and many exam results to a
student.
What I am trying to do is when a student is enrolled to a division on a
course I want certain fields from the tblStudentCourses table to populate the
same fields in the tblExamResults table.
And then when we create an exam that is attached to a division I want
certain fields from the tblCourseExams table to populate the same fields in
the tblExamResults table. I have tried an update query but it just will not
play the game for me it’s probably something really stupid but I just can’t
see it.
The tables are structured as below (not all fields but the main ones):
tblDivision tblStudentCourses
tblCourseExams DivisionID AutoNO StudentCourseID AutoNO
CourseExamID AutoNO
CourseName DivisionID
DivisionID
DivisionName StudentPersonalNumber ExamName
tblExamResults
CourseExamID (populated as exams are created)
ExamName (populated as exams are created)
DivisionID (populated as student is added to
division)
StudentCourseID (populated as student is added to division)
StudentPersonalNumber (populated as student is added to division)
I have tried to do this with a query but how the relationships are I can’t.
any help would be appreciated
Rodney