Thank you in advance..
In subreport:
===========
WhilePrintingRecords;
Shared currencyVar RegSupSubTotal := sum({@RegSupRsale}, {COMPANY.STATE});
RegSupSubTotal;
(placed in GF of subreport)
In Main report:
==============
WhilePrintingRecords;
Shared currencyVar RegSupSubTotal;
RegSupSubTotal;
(subreport place in GF1a and
RegSupSubTotal placed beneath it in GF1b section of the main report)
In the subreport the shard var RegSupSubTotal gives correct value for that group...
BUT it displays 0.00 value for all groups!.
Please help if you can see what i am doing wrong?
many thanks.
In subreport:
===========
WhilePrintingRecords;
Shared currencyVar RegSupSubTotal := sum({@RegSupRsale}, {COMPANY.STATE});
RegSupSubTotal;
(placed in GF of subreport)
In Main report:
==============
WhilePrintingRecords;
Shared currencyVar RegSupSubTotal;
RegSupSubTotal;
(subreport place in GF1a and
RegSupSubTotal placed beneath it in GF1b section of the main report)
In the subreport the shard var RegSupSubTotal gives correct value for that group...
BUT it displays 0.00 value for all groups!.
Please help if you can see what i am doing wrong?
many thanks.