R
RGBrighton
Hi,
Can you suggest a way of setting up a data structure to meet my situation?
I have a table of students for whom I want to record a list of grades for
particular assessment points as they progress through the year. A key
feature is that every student has the same set of assessment points. I
envisage the list of assessments may need amendment/addition and they require
longish titles (eg "First review point following induction session" etc). So
I have created a table of 'Assessments" in which there is one record for each
assessment point - this should allow me to edit the descriptions of each
assessment point and add extra ones should we wish.
I want to have a form to edit/enter every assessment grade for each student.
I envisage having a junction table between 'Students' and 'Assessments'
where the appropriate grade for each Student/Assessment is stored.
My problem is that at the start of a year there are no grades recorded but I
still want the form to have a space for every possible assessment grade
against each student.
Do I need to write some code to populate the junction table with all the
students and every assessmentID? (In which case how should the system
respond to an added assessment point?)
Or is there some neat form of query that would provide for this? (Some sort
of crosstab or similar that puts each student ID against each assessmentID
even when there are no grades yet?)
Or am I completely wrong in seeing this as a many to many between students
and assessments? Is there a more appropriate data structure?
I am sorry this is long-winded, Thanks for reading this far!
I feel this must be a fairly standard requirement and I am probably missing
something obvious!
Richard
Can you suggest a way of setting up a data structure to meet my situation?
I have a table of students for whom I want to record a list of grades for
particular assessment points as they progress through the year. A key
feature is that every student has the same set of assessment points. I
envisage the list of assessments may need amendment/addition and they require
longish titles (eg "First review point following induction session" etc). So
I have created a table of 'Assessments" in which there is one record for each
assessment point - this should allow me to edit the descriptions of each
assessment point and add extra ones should we wish.
I want to have a form to edit/enter every assessment grade for each student.
I envisage having a junction table between 'Students' and 'Assessments'
where the appropriate grade for each Student/Assessment is stored.
My problem is that at the start of a year there are no grades recorded but I
still want the form to have a space for every possible assessment grade
against each student.
Do I need to write some code to populate the junction table with all the
students and every assessmentID? (In which case how should the system
respond to an added assessment point?)
Or is there some neat form of query that would provide for this? (Some sort
of crosstab or similar that puts each student ID against each assessmentID
even when there are no grades yet?)
Or am I completely wrong in seeing this as a many to many between students
and assessments? Is there a more appropriate data structure?
I am sorry this is long-winded, Thanks for reading this far!
I feel this must be a fairly standard requirement and I am probably missing
something obvious!
Richard