Hi All,
I'm using crystal reports version 8.5.
I'm trying to get the sum@formula from my subreports to the main report and make a grand total of my all subreports.
the subreports are not linked to main report,because I don't want that.The results which I have are now 100% but It's very difficult to summarize the subreports qty's together,pls help.
Like:
qty 50 (subreportA)
qty 50 (subreportB)
qty 50 (subreportC)
qty 50 (subreportD)
total should be 200
I tried to make a formula like below:
//In subreport i've put the below on #report footer
whileprintingrecords;
numbervar totloc:=totloc+{@87.5% of Tot.Loc};
// then in main report I put the below on #report footer also
whileprintingrecords;
numbervar totloc;
// last I made a reset formula and put on page header
but it's still not working.
pls help.
I'm using crystal reports version 8.5.
I'm trying to get the sum@formula from my subreports to the main report and make a grand total of my all subreports.
the subreports are not linked to main report,because I don't want that.The results which I have are now 100% but It's very difficult to summarize the subreports qty's together,pls help.
Like:
qty 50 (subreportA)
qty 50 (subreportB)
qty 50 (subreportC)
qty 50 (subreportD)
total should be 200
I tried to make a formula like below:
//In subreport i've put the below on #report footer
whileprintingrecords;
numbervar totloc:=totloc+{@87.5% of Tot.Loc};
// then in main report I put the below on #report footer also
whileprintingrecords;
numbervar totloc;
// last I made a reset formula and put on page header
but it's still not working.
pls help.