Ok, removing the "while printing records" allowed me to do the sum stuff, but now my charts are going berserk. What I've got to chart these scores on a monthly basis, which I had working, except the values were skewed by the nulls prior. So Now I've writted a couple formulas, one called @FindNulls is used to give the fields a 0 or 1 value:
if isnull({Table.Field}) then 0 else 1;
to get it to only count non-null records
Then another called @SumRecords is used to count the non-null records to get the real record count:
Sum ({@FindNulls})
Then a third, @SumValues which is used to sum the values in the fields:
Sum ({Table.Field})
And finally a fourth, @AverageScores, which averages the mess:
{@SumValues}/{@SumRecords}
Now, when I put these fields into the footer to check the numbers, they check out ok. However, when I then try to chart it monthly, (On change of {Table.datefield} Ordered to be charted monthly showing values for @AverageScores ) all the months are coming out to the same number.