Is there a way that I can make a field in a table (I don't mind using a query if you can show me how) which is a calculated field and gets its value by performing a look up (from a another table list) based on another numeric field for that person?
e.g. In school grades, the student might get these marks...
-1 - Not submitted (F)
0 - Not Achieved (C)
1 - Achieved (B)
2 - Merit (A)
3 - Excellence (A+)
I already have their marks numerically (let's call the field "science_score" in my "marking" table) and I want to make another field for them which actually says their grade using the plain english version format (so where science_score is "2", this field should become "Merit (A)".
Better yet, I ultimately would like to also have the sentence written as "<student name> scored a <grade> in <his/her> science exam" with name, gender etc being utilised. So, it might look like this: "Sarah scored a Merit (A) in her science exam"
Can someone please show me how? I'm getting all manner of mismatch trying to make the lookups work to tables / queries etc. I would prefer to have the output feed to a Table which can go to a Form so that I can see the processed (final) sentences in front of me while I fill in other various comments to other fields.
I am normally used to using Excel for this (lots of long formulae based on multiple cells) but new to database which I hear is more efficient. The RTFM I've been attempting thus far has led me in circles and I'm now running short of time.
e.g. In school grades, the student might get these marks...
-1 - Not submitted (F)
0 - Not Achieved (C)
1 - Achieved (B)
2 - Merit (A)
3 - Excellence (A+)
I already have their marks numerically (let's call the field "science_score" in my "marking" table) and I want to make another field for them which actually says their grade using the plain english version format (so where science_score is "2", this field should become "Merit (A)".
Better yet, I ultimately would like to also have the sentence written as "<student name> scored a <grade> in <his/her> science exam" with name, gender etc being utilised. So, it might look like this: "Sarah scored a Merit (A) in her science exam"
Can someone please show me how? I'm getting all manner of mismatch trying to make the lookups work to tables / queries etc. I would prefer to have the output feed to a Table which can go to a Form so that I can see the processed (final) sentences in front of me while I fill in other various comments to other fields.
I am normally used to using Excel for this (lots of long formulae based on multiple cells) but new to database which I hear is more efficient. The RTFM I've been attempting thus far has led me in circles and I'm now running short of time.