I am trying to obtain the sum of a field object, @TotalValue, but have been running into some problems.
My report contains one group only:
i) Group header is blank.
ii) Details section is suppressed.
iii) Group footer shows fields, sum of
Job_Progress.QTYREM_14, @LaborTime, @LaborUnitCost,
and @TotalValue.
iv) Report footer shows sum of Job_Progress.QTYREM_14,
which is the sum of sum of Job_Progress.QTYREM_14
found on the group footer, and this is actually
correct.
@TotalValue = sum of Job_Progress.QTYREM_14 * @LaborUnitCost, and this is correct also.
Now, I am trying to obtain the sum of @TotalValue and I would like to place this sum in the report footer. The sum function doesn't seem to be able to get it done;
sum({@TotalValue}) -- error message is "the sum could not be created".
Please any suggestions?
My report contains one group only:
i) Group header is blank.
ii) Details section is suppressed.
iii) Group footer shows fields, sum of
Job_Progress.QTYREM_14, @LaborTime, @LaborUnitCost,
and @TotalValue.
iv) Report footer shows sum of Job_Progress.QTYREM_14,
which is the sum of sum of Job_Progress.QTYREM_14
found on the group footer, and this is actually
correct.
@TotalValue = sum of Job_Progress.QTYREM_14 * @LaborUnitCost, and this is correct also.
Now, I am trying to obtain the sum of @TotalValue and I would like to place this sum in the report footer. The sum function doesn't seem to be able to get it done;
sum({@TotalValue}) -- error message is "the sum could not be created".
Please any suggestions?