Hi
We have the below code to pass a value back from a subreport.
{@PassToMainRpt_PriTotal} works fine in the subreport, but {@excl_Pri} returns zero in the main report.
//In Subreport {@PassToMainRpt_PriTotal}
whileprintingrecords;
shared currencyvar PriTotal;
PriTotal:={@Total};
PriTotal
//In Main Report {@excl_Pri}:
whileprintingrecords;
shared currencyvar PriTotal;
PriTotal
Any help would be much appreciated
Thanks
B
We have the below code to pass a value back from a subreport.
{@PassToMainRpt_PriTotal} works fine in the subreport, but {@excl_Pri} returns zero in the main report.
//In Subreport {@PassToMainRpt_PriTotal}
whileprintingrecords;
shared currencyvar PriTotal;
PriTotal:={@Total};
PriTotal
//In Main Report {@excl_Pri}:
whileprintingrecords;
shared currencyvar PriTotal;
PriTotal
Any help would be much appreciated
Thanks
B