Dear all,
I have created a database system used to manage learner records. I am trying to measure progression (i.e. number of grades that a student goes up or down during their time studying with us) through a query - but I've hit a wall and could do with a fresh pair of eyes!
Background - the database is huge, our turnover is approx 60 students per month. The relevant tables here are:
Receptions and Leavers
Fields include: [Lit at Reception], [Num at Reception], [Lit at Leaving], [Num at Leaving]
Func Grades
Fields are: [Autonumber_ID], [Func Skill Grade], [Grade_Value]
Func Grades is a reference table used as a lookup for the fields mentioned in Receptions and Leavers. The values in Func grades are:
ID__Grade Grade_Value
1___L3________7
2___L2________6
3___L1________5
4___E3________4
5___E2________3
6___E1________2
7___Pre-E______1
8___Refused____Null
9___None______Null
I had hoped I could create a query which, along with all the necessary ID and date fields, could have a column which subtracted the Grade_Value of whatever was in [Lit at Reception] from whatever is in [Lit at Leaving] to say, e.g. 1. This way I can then compare the average period of study against the number of levels the learner progressed in their studies, and we can do some sophisticated analysis to see how factors such as ethnicity, free school meals, shoe size, etc, affect academic attainment.
My first attempt was:
[Receptions and Leavers].[Lit at Reception]
[Receptions and Leavers].[Num at Reception]
[Receptions and Leavers].[Lit at Leaving]
[Receptions and Leavers].[Num at Leaving]
Lit_Progression: [Lit at Leaving]-[Lit at Reception]
Num_Progression: [Num at Leaving]-[Num at Reception]
Of course, it's never this simple is it!? Obvious errors because the query doesn't recognise the value of each grade from the Lit / Num fields. But, If I add the Grade_Value column to the query then this also messes things up.
Is there a way I can make the query calculate the difference between the two sets of grades using the value of the grade from the reference table?
Any help much appreciated!
I have created a database system used to manage learner records. I am trying to measure progression (i.e. number of grades that a student goes up or down during their time studying with us) through a query - but I've hit a wall and could do with a fresh pair of eyes!
Background - the database is huge, our turnover is approx 60 students per month. The relevant tables here are:
Receptions and Leavers
Fields include: [Lit at Reception], [Num at Reception], [Lit at Leaving], [Num at Leaving]
Func Grades
Fields are: [Autonumber_ID], [Func Skill Grade], [Grade_Value]
Func Grades is a reference table used as a lookup for the fields mentioned in Receptions and Leavers. The values in Func grades are:
ID__Grade Grade_Value
1___L3________7
2___L2________6
3___L1________5
4___E3________4
5___E2________3
6___E1________2
7___Pre-E______1
8___Refused____Null
9___None______Null
I had hoped I could create a query which, along with all the necessary ID and date fields, could have a column which subtracted the Grade_Value of whatever was in [Lit at Reception] from whatever is in [Lit at Leaving] to say, e.g. 1. This way I can then compare the average period of study against the number of levels the learner progressed in their studies, and we can do some sophisticated analysis to see how factors such as ethnicity, free school meals, shoe size, etc, affect academic attainment.
My first attempt was:
[Receptions and Leavers].[Lit at Reception]
[Receptions and Leavers].[Num at Reception]
[Receptions and Leavers].[Lit at Leaving]
[Receptions and Leavers].[Num at Leaving]
Lit_Progression: [Lit at Leaving]-[Lit at Reception]
Num_Progression: [Num at Leaving]-[Num at Reception]
Of course, it's never this simple is it!? Obvious errors because the query doesn't recognise the value of each grade from the Lit / Num fields. But, If I add the Grade_Value column to the query then this also messes things up.
Is there a way I can make the query calculate the difference between the two sets of grades using the value of the grade from the reference table?
Any help much appreciated!