OK, I am getting closer. I not have my correct variables and they are resetting correctly. I just need to summarized three fields. Now these three fields are calculated with variables from the first sub report. I need to total by group footer #1 for Total STD lab cost, LL Lab cost and TL Lab cost.
The group #1 is by product line and needs to be reset based on the numbers being passed Group footer #2 (by item). I also need a grand total for the three in the report footer. As you can see form the screen shot, I tried the three part variables, called PlinetotalSTDLabcost_Calc, _Display and _Reset, but it is not working as I hoped.
Here are the formulas for the three variables fields:
"PLineTotalSTDLabCost_calc:
Whileprintingrecords;
Shared Numbervar PlineLaborStd;
PlineLaborStd:= PlineLaborStd + ({@Total_std_Lab_cost})
The display field:
Whileprintingrecords;
Shared Numbervar PlineLaborStd;
PlineLaborStd
Te reset field:
Whileprintingrecords;
Shared Numbervar PlineLaborStd;
PlineLaborStd:=0
Here is the report in design view:
Any thoughts or help would be appreciated.
Edmund