Hello,
I've got a query that I want to use to perform a rather complex calculation on the numerical results in 12 fields. As part of it, I need to be able to sum certain of the fields together. I know I can use the following expression:
[SumOfFeb]+[SumOfMar]+[SumOfApr] to give me the sum of those 3 fields.
But what I really want is to be able to provide just the FIRST and LAST fields and have the expression automatically sum all the intervening fields. So, in the above example, I want something like [SumOfFeb]:[SumOfApr] that would add together all 3 fields by only stating the first and last field.
Of course, this will only work if the fields are in a certain order, which they are. Can this be done?
Thanks,
Caleb
I've got a query that I want to use to perform a rather complex calculation on the numerical results in 12 fields. As part of it, I need to be able to sum certain of the fields together. I know I can use the following expression:
[SumOfFeb]+[SumOfMar]+[SumOfApr] to give me the sum of those 3 fields.
But what I really want is to be able to provide just the FIRST and LAST fields and have the expression automatically sum all the intervening fields. So, in the above example, I want something like [SumOfFeb]:[SumOfApr] that would add together all 3 fields by only stating the first and last field.
Of course, this will only work if the fields are in a certain order, which they are. Can this be done?
Thanks,
Caleb