I have a simple database for tracking defects. On a given date and part number, I may have 10 different defects. Below are the two tables I have.
Header Table Detail Table
ID ID
Date Defect Type
Part Number Qty
Total Packed
My query returns multiple records from the detail table for every record in the header table. On the report, when I try to total the Total Packed field, I get the total for every line of detail. Example: If I have one part number on 11/20/04 and Total Packed of 240, with 5 different defects, I get 1200 for the Sum of Total Packed. How do I fix this?
Header Table Detail Table
ID ID
Date Defect Type
Part Number Qty
Total Packed
My query returns multiple records from the detail table for every record in the header table. On the report, when I try to total the Total Packed field, I get the total for every line of detail. Example: If I have one part number on 11/20/04 and Total Packed of 240, with 5 different defects, I get 1200 for the Sum of Total Packed. How do I fix this?