V
Victoria
hello
I have a query with fields ID, Level, a1, a2, a3, a4,......... a40.
The fields a1 to a40 will either be blank or will have an integer value
from 1 to 5. I'd like to add a calculated field, called Score, that will
give me the sum of these 40 columns divided by (5 times the number of fields
that have values). How should I write this calculated field.
b) The 40 fields mentioned above have textboxes on a form. Is it generally
better to just do the above calculation for Score on the form, or get the
calculated value of Score from the query?
I have a query with fields ID, Level, a1, a2, a3, a4,......... a40.
The fields a1 to a40 will either be blank or will have an integer value
from 1 to 5. I'd like to add a calculated field, called Score, that will
give me the sum of these 40 columns divided by (5 times the number of fields
that have values). How should I write this calculated field.
b) The 40 fields mentioned above have textboxes on a form. Is it generally
better to just do the above calculation for Score on the form, or get the
calculated value of Score from the query?