I'm putting together a 'quick and dirty' scoring program and am having difficulty with using the update query.
Presently, I have two update queries. The first is intended to compare the examinees' answers to the answer string. Each answer has its own field. If the fields do not match, the field is updated to 0. The second query does the same type of process but updates the field to 1 if the answers match.
I was hoping to only have the two queries, one to mark correct answers and one to mark incorrect answers. The problem is that nothing will update unless the examinee got all the answers correct or incorrect--since the query is applying the criteria to the whole record, instead of solely to the field I wish score.
Is there anyway I can specify that the criteria listed below the field should be applied only to that field? So the field for answer 1 will be updated as correct, regardless of whether the criteria for answer 2's field matches?
I know I can make up a correct update query and an incorrect update query for each answer, but I'd rather that be a last resort, since there are 80 questions.
Presently, I have two update queries. The first is intended to compare the examinees' answers to the answer string. Each answer has its own field. If the fields do not match, the field is updated to 0. The second query does the same type of process but updates the field to 1 if the answers match.
I was hoping to only have the two queries, one to mark correct answers and one to mark incorrect answers. The problem is that nothing will update unless the examinee got all the answers correct or incorrect--since the query is applying the criteria to the whole record, instead of solely to the field I wish score.
Is there anyway I can specify that the criteria listed below the field should be applied only to that field? So the field for answer 1 will be updated as correct, regardless of whether the criteria for answer 2's field matches?
I know I can make up a correct update query and an incorrect update query for each answer, but I'd rather that be a last resort, since there are 80 questions.