G
Guest
i want my report to look like the following,
Between [StartDate] and [EndDate]
=PartNumber Header===============================
Part Number [PartNum]
=Details Section==================================
Defect Code Defect Quantitiy DefectPercentage
[defectcode] [defectquantity] [PercentDefQty]
=Part Number Footer===============================
Total sorted: [sumofTotalSort] Total Defects: [sumofDefects]
Percentage of Defects: [DefectPercentage]
the [PercentDefQty] text box is based on taking the [defectquantity] text
box in the Details Section and dividing that number by [sumofDefects] in the
Part Number Footer section. however as the footer section is not processed
until all of the details section is processed, how do i get the same number
to use in the Details Section as i will get in the [sumofDefects] text box?
just to clarify, there will be some part numbers that may only have 1
defect, so there will only be 1 defect code and 1 defectquantity listed.
however, there could be up to 28 defect codes for that 1 part also. what i
am trying to get is the percentage of each defect compared to the total of
defects.
any help with this would be greatly appreciated. thanks in advance.
Between [StartDate] and [EndDate]
=PartNumber Header===============================
Part Number [PartNum]
=Details Section==================================
Defect Code Defect Quantitiy DefectPercentage
[defectcode] [defectquantity] [PercentDefQty]
=Part Number Footer===============================
Total sorted: [sumofTotalSort] Total Defects: [sumofDefects]
Percentage of Defects: [DefectPercentage]
the [PercentDefQty] text box is based on taking the [defectquantity] text
box in the Details Section and dividing that number by [sumofDefects] in the
Part Number Footer section. however as the footer section is not processed
until all of the details section is processed, how do i get the same number
to use in the Details Section as i will get in the [sumofDefects] text box?
just to clarify, there will be some part numbers that may only have 1
defect, so there will only be 1 defect code and 1 defectquantity listed.
however, there could be up to 28 defect codes for that 1 part also. what i
am trying to get is the percentage of each defect compared to the total of
defects.
any help with this would be greatly appreciated. thanks in advance.