Im having a bit of trouble again!
Im making a testing system for my school, and the answer that they enter is a number, 1 to 5, which is compared to the field where the teacher enters the correct answer.
if a correct answer is entered i want it to compared it to the field and if it is true then I want it to add 1 to the marks field.
The code i have used is: =IIf([Text100]=[tblAnswers.CorrectAnswer],[tblMarks.Mark]+1,[tblMarks.Mark])
This unfortunately does not work, it doesn't change the Mark field at all. Can anyone help?
Im making a testing system for my school, and the answer that they enter is a number, 1 to 5, which is compared to the field where the teacher enters the correct answer.
if a correct answer is entered i want it to compared it to the field and if it is true then I want it to add 1 to the marks field.
The code i have used is: =IIf([Text100]=[tblAnswers.CorrectAnswer],[tblMarks.Mark]+1,[tblMarks.Mark])
This unfortunately does not work, it doesn't change the Mark field at all. Can anyone help?