N
nilkamals
Hello,
I have an access database that you can input students answers to a
test. A field then determines if this is the correct answer or not
with either a 1 or 0.
Here's the formula:Correct/Wrong1 =IIf([Student Answer
1]="a","1","0") . It is inputted in the control source of a text box.
The formula produces the correct answer and I have this for 25 fields
(the test has 25 questions). Now I would like to add all the 1s and 0s
so I can get a total score.
I made a new text box with the formula = Correct/Wrong1 + Correct/
Wrong2 +...Correct/Wrong25. However, the formula produces a result
like 111100101...10. instead of 24 or whatever the number of 1s adds
up to.
Please let me know how I can fix this.
Thank you so much.
I have an access database that you can input students answers to a
test. A field then determines if this is the correct answer or not
with either a 1 or 0.
Here's the formula:Correct/Wrong1 =IIf([Student Answer
1]="a","1","0") . It is inputted in the control source of a text box.
The formula produces the correct answer and I have this for 25 fields
(the test has 25 questions). Now I would like to add all the 1s and 0s
so I can get a total score.
I made a new text box with the formula = Correct/Wrong1 + Correct/
Wrong2 +...Correct/Wrong25. However, the formula produces a result
like 111100101...10. instead of 24 or whatever the number of 1s adds
up to.
Please let me know how I can fix this.
Thank you so much.