J
Jeffrey Marks
I have a table that has 5 different test scores (reading, writing,
math, SS, and science) per records in the table. The student may take
these tests multiple times (until passed). So a test score may have a
score (1-600) in the field or it may be null.
I'd like to total the number of time each student takes a given test
(e.g. how many times did he/she take the math test). When I'm done I
also want to see how many tests were taken, but if I have the total
count of how many times each test was taken, I can easily sum those to
get the overall total.
Is the best way to approach this an IIF statement, stating that if the
score is not one add 1 to the total? Or is there a more efficient way
to code this?
Thanks as always
Jeff
math, SS, and science) per records in the table. The student may take
these tests multiple times (until passed). So a test score may have a
score (1-600) in the field or it may be null.
I'd like to total the number of time each student takes a given test
(e.g. how many times did he/she take the math test). When I'm done I
also want to see how many tests were taken, but if I have the total
count of how many times each test was taken, I can easily sum those to
get the overall total.
Is the best way to approach this an IIF statement, stating that if the
score is not one add 1 to the total? Or is there a more efficient way
to code this?
Thanks as always
Jeff