I work in a school and am trying to create a database for modular exams.
The pupils take more than one practical - but only use the highest grade to go forward to their actual result.
I've successfully created a query which works out the maximum of these practicals.
However, from this value the raw mark has to turn into a UMS score - e.g. the raw mark was 40 - this converts to 100 (so the practical grades are weighted). My problem is that I can't multiply the raw mark by a fixed amount as it varies as you can see from the table exert below.
1 = 2
2 = 4
3 = 5
4 = 7
5 = 9
6 = 11
I've tried to link the highest raw score in the Query to the above lookup table - but I keep getting "type mismatch in expression" errors.
I'm sure there must be a way of doing this - basically the equivalent to a VLOOKUP in Excel.
Would appreciate any help.
The pupils take more than one practical - but only use the highest grade to go forward to their actual result.
I've successfully created a query which works out the maximum of these practicals.
However, from this value the raw mark has to turn into a UMS score - e.g. the raw mark was 40 - this converts to 100 (so the practical grades are weighted). My problem is that I can't multiply the raw mark by a fixed amount as it varies as you can see from the table exert below.
1 = 2
2 = 4
3 = 5
4 = 7
5 = 9
6 = 11
I've tried to link the highest raw score in the Query to the above lookup table - but I keep getting "type mismatch in expression" errors.
I'm sure there must be a way of doing this - basically the equivalent to a VLOOKUP in Excel.
Would appreciate any help.