Hi,
I'm tearing my hair out with this problem, yet i know its solvable, because I've done similar things before but regardless of what i try it doesn't work.
I've a report based on a table. The report has two headers,
Depot then rank.
There are two footers, rank, then depot.
In the rank header, I have the following fields,
txt_Star_Target, Variance, and [Text91], with control sources as follows,
[=IIf([variance]>=0,1,0)], [actual]-[guide], [=txt_Star_Target]
[text91] is a running sum over group, and calculates correctly. However, in the depot footer, I have a field which is set to [=text91]. This only returns the first value from the sum, be it 1 or 0. I've tried sum([text91]) and I get an error when viewing the report. I've tried moving the fields into the detail of the report with no luck.
What am I doing wrong?
I'm tearing my hair out with this problem, yet i know its solvable, because I've done similar things before but regardless of what i try it doesn't work.
I've a report based on a table. The report has two headers,
Depot then rank.
There are two footers, rank, then depot.
In the rank header, I have the following fields,
txt_Star_Target, Variance, and [Text91], with control sources as follows,
[=IIf([variance]>=0,1,0)], [actual]-[guide], [=txt_Star_Target]
[text91] is a running sum over group, and calculates correctly. However, in the depot footer, I have a field which is set to [=text91]. This only returns the first value from the sum, be it 1 or 0. I've tried sum([text91]) and I get an error when viewing the report. I've tried moving the fields into the detail of the report with no luck.
What am I doing wrong?