Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8065

Re: Passing a variable from subreport to main report

$
0
0

Thanks for the advice,

I want to rewind a bit to make sure I am explaining myself clearly.  My sub-report is pulling the correct numbers and it is located in GF#3 and contains two values that fall under "Proc Goal" and "Prod Goal". These are being calculated correctly and I would then like to pass them back to the main report for additional calculations done on this.

 

In the sub-report, a formula was created "ProcGoalVariable":

WhilePrintingRecords;

Shared Numbervar ProcedureGoal := cdbl({#ProcGoal})

 

In the main report, a formula was created "ProcGoalVariable"

Shared NumberVar ProcedureGoal;

ProcedureGoal:=ProcedureGoal;

 

Would having the same name inside the formulas being causing the issue? And I've tried inserting a new section below the section where my subreport lives and I still get a value of 0.

 

Not sure what else to try at this point.


Viewing all articles
Browse latest Browse all 8065

Trending Articles