on 2014 May 30 9:18 PM
Hello,
Was hoping to get some assistance on this issue I'm facing. I've got a sub-report that calculates a monthly goal based off the date selection criteria. And I'd like to pass this goal back to the main report.
In my sub-report, I created a new formula named ProcGoalVariable:
WhilePrintingRecords;
Shared Numbervar ProcedureGoal := cdbl({#ProcGoal})
While {#ProcGoal} is a running total I created for the sub-report and now I'd like to pass it back to the main report.
In the main report, I created a new formula named ProcGoalVariable:
Shared NumberVar ProcedureGoal;
ProcedureGoal;
But when I drop this into my report, it is returning a value of 0. In the screen shot, the Proc. Needed should actually equal the Proc Goal:
Any suggestions on how to pass this correctly?
Request clarification before answering.
Hi Trey,
Which value do you see in your variable at the end of the subreport?
If it is not the expected value then you still an issue in the subreport....
If you see the value in the subreport then try to assign the value to your return variable in the main report... as you describe it, it seems that is still empty...
like :
Shared NumberVar ProcedureGoal;
ProcedureGoal:=ProcedureGoal;
Good luck and Kind regards,
Sylvain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
10 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.