I am using CR V.8.0. On my Main report I have a group by Vendor with summarized the TotalSale and on my Subreport I have the same Grouped by vendor and I have summarized the TotMaterialCost and linked by Postdate and Vendor to the Main report. I need to place the TotMaterialcost from the subreport in the Main report Group section and do some calculations. Is that possible? I have also created variable on the subreport TotMaterial to placed it on the Main report but it does not seems to get the right data for the right vendor.
//subreport
Whileprintingrecords;
shared NumberVar TotMatCost;
TotMatCost:= sum({timCostTier.TotMaterialCost}, {tapVendor.VendID});
TotMatCost
//MainReport.
WhileprintingRecords;
Shared NumberVar TotMatCost;
TotMatCost
Please help.Thanks.
//subreport
Whileprintingrecords;
shared NumberVar TotMatCost;
TotMatCost:= sum({timCostTier.TotMaterialCost}, {tapVendor.VendID});
TotMatCost
//MainReport.
WhileprintingRecords;
Shared NumberVar TotMatCost;
TotMatCost
Please help.Thanks.