I have a subform that allows entry of student test results. Once the
user inputs the test score and the test ID, I would like the subform to
query a look up table and populate a column on the row that the users
is on to show the level of the student, based on the test result.
TBL StudentTest has StudentID, TestID, TestDate, TestScore
TBLLkup Level has LevelName, TestMaxScore
Is it possible to do this on a subform where there are multiple rows of
student test results displayed? Ideally, the column for student level
would be populated as soon as the user updates the test score column,
and it would not be editable, but it would get stored with the rest of
the data in the row in the Student Test table. Or should I just leave
the test level out of the Student Test table and only query it when
it's needed on a report?
One last thing - when doing the look up, I have to query based on the
student's test score, but the look up table contains only the max test
score for a particular level. So, if a student scores 200, that would
translate to Level 2 where Level 1 max test score is 190 and Level 2
max test score is 210.