Crystal Report with subreport calculation out of sync
I have a Crystal Report that lists Part Number per Group based on a date range. I created a subreport that iterates through those part numbers to calculate the total labor cost per unit. In the main report I then add the unit material cost and the total unit labor cost to get the extended total unit cost. Problem is that extended cost calculation is out of sync by a line. The report is taking the unit material cost and adding the next line's unit labor cost and making it that same line's extended cost. Effectively it's as if the Labor column were shifted down one and started with 0.00. See attached .pdf. The subreport is placed in the details and returns the correct calculated unit labor cost. Why is the Extended Cost out of sync? Crystal-Reports---NashuaTotalDirectMater NashuaTotalDirectMaterialAndHours.rpt
The trick is to put the subreport into a section before the section you need them.
ALso you are trying to summarize a formula that uses the shared variables. That can't be done. You have to do a manual summary.
Look at the report I attached.