There's got to be something simple I'm overlooking, I have one specific variable that seems to have quit passing it's value to my parent report.
CR XI
Subreport variables
@SPSCAban
shared numbervar SPSCAban;
If condition = 1
then
SPSCAban := sum(table.abandon)
@SPSCHandled
shared numbervar SPSCHandled;
if condition = 1
then
SPSCHandled = sum(table.handled)
@SPSCTotal
shared numbervar SPSCTotal;
SPSCTotal := @SPSCAban + @SPSCHandled
All 3 of these work correctly in my subreport, have the expected values, etc.
Parent report
@SPSCAban
shared numbervar SPSCAban;
@SPSCHandled
shared numbervar SPSCHandled;
@SPSCTotal
shared numbervar SPSCTotal;
If I put those variables in my footer (and below the appropriate subreport)
I get the expected values for Aban and Handled but Total is coming up 0 (zero). What am I missing, is it the fact that Total is a calculated field not using any tables?
I tried re-writing SPSCTotal to use the same fields, and it still fails to carry up to parent.
If condition = 1
then
SPSCTotal := sum(table.aban) + sum(table.handled)
Thanks in advance for assistance!
CR XI
Subreport variables
@SPSCAban
shared numbervar SPSCAban;
If condition = 1
then
SPSCAban := sum(table.abandon)
@SPSCHandled
shared numbervar SPSCHandled;
if condition = 1
then
SPSCHandled = sum(table.handled)
@SPSCTotal
shared numbervar SPSCTotal;
SPSCTotal := @SPSCAban + @SPSCHandled
All 3 of these work correctly in my subreport, have the expected values, etc.
Parent report
@SPSCAban
shared numbervar SPSCAban;
@SPSCHandled
shared numbervar SPSCHandled;
@SPSCTotal
shared numbervar SPSCTotal;
If I put those variables in my footer (and below the appropriate subreport)
I get the expected values for Aban and Handled but Total is coming up 0 (zero). What am I missing, is it the fact that Total is a calculated field not using any tables?
I tried re-writing SPSCTotal to use the same fields, and it still fails to carry up to parent.
If condition = 1
then
SPSCTotal := sum(table.aban) + sum(table.handled)
Thanks in advance for assistance!