Select Case [tblScript].[OriginalMark]
Case Is < [tblGradeBoundaries].[E]
[OriginalGrade] = "U"
Case Is < [tblGradeBoundaries].[D]
[OriginalGrade] = "E"
Case Is < [tblGradeBoundaries].[C]
[Original Grade] = "D"
Case Is < [tblGradeBoundaries].
[OriginalGrade] = "C"
Case Is < [tblGradeBoundaries].[A]
[OriginalGrade] = "B"
Case Is > [tblGradeBoundaries].[A]
[OriginalGrade] = "A"
End Select
I keep getting an error saying that it can not find the field.
I have no idea what to do. I can program in VB but not with databases! What am i missing or is my syntax wrong?
There are two tables tblGradeboundaries(SubjectRef, A, B,C, D, E) and tblScript(SubjectRef, OriginalGrade, OriginaMark). OriginalMark should fill in automatically. On my input form i have a button that adds the record to the database and this is where i want the code to go.
Please help me!
Case Is < [tblGradeBoundaries].[E]
[OriginalGrade] = "U"
Case Is < [tblGradeBoundaries].[D]
[OriginalGrade] = "E"
Case Is < [tblGradeBoundaries].[C]
[Original Grade] = "D"
Case Is < [tblGradeBoundaries].
[OriginalGrade] = "C"
Case Is < [tblGradeBoundaries].[A]
[OriginalGrade] = "B"
Case Is > [tblGradeBoundaries].[A]
[OriginalGrade] = "A"
End Select
I keep getting an error saying that it can not find the field.
I have no idea what to do. I can program in VB but not with databases! What am i missing or is my syntax wrong?
There are two tables tblGradeboundaries(SubjectRef, A, B,C, D, E) and tblScript(SubjectRef, OriginalGrade, OriginaMark). OriginalMark should fill in automatically. On my input form i have a button that adds the record to the database and this is where i want the code to go.
Please help me!
Last edited: