Ok. This has me crazy. I'm sharing a value from subreport to main report and it's doing something odd. I've tried a dozen different troubleshooting steps and have stripped everything down to the basics to see what is going wrong. Here's the final troubleshooting steps I'm at.
I drop {@San Antonio Total Calls} in the main report and I get the correct value.
I have a formula that I wrote
As soon as I drop that formula on the report (again, lower than the subreport) not only does it not total up correctly but {@SATTotalCalls} immediately goes to 0.
??? What the heck? What am I missing?
Code:
// Subreport SAT
whileprintingrecords;
shared numbervar SATTotalCalls;
SATTotalCalls := {#RunTotCalls};
// Main Report, located lower than subreport
// I use the total calls from San Antonio in several places
// So I define it as a variable in the main report
// San Antonio Total Calls
whileprintingrecords;
shared numbervar SATTotalCalls;
I drop {@San Antonio Total Calls} in the main report and I get the correct value.
I have a formula that I wrote
Code:
// test total calls across all locations
whileprintingrecores;
{@SATTotalCalls} + {#TotalCalls}
As soon as I drop that formula on the report (again, lower than the subreport) not only does it not total up correctly but {@SATTotalCalls} immediately goes to 0.
??? What the heck? What am I missing?