I need to get Shared NumberVar from Sub-Report to Main-Report but first record display 0 value in this Group footer (My value display on Group footer) value do not match in same line
I need to display correct value in same line.
Please help.
Sub-Report
WhilePrintingRecords;
Shared NumberVar qty;
qty:= sum({OE.QTYSOLD});
Main-Report
WhilePrintingRecords;
Shared NumberVar qty;
Main report formula getting a subreport shared variable value must be in a section BELOW the subreport section. This is because section formulas are evaluated before subreports in the same section.
So split the section or move the subreport to a higher section.