Martijnbm
August 2nd, 2005, 08:25 AM
I'm making a report that should display the number of a given part used in sales and in production.
I am using 3 tables for the report:
table 1 holds part info
table 2 holds sales info
table 3 holds production info
Table 2 and 3 are each linked to table 1.
The input is a part number.
The output should be how many were used in sales and how many in production. Either one works fine but when I use both the sales and production table to the report, I get the same sales record for each production record. Probably because they both have the field Part in them. This way the output is way too big and displays records numerous times. Is this a matter of linking the tables differently, grouping differently or something different altogether?
Attached are a pic of the tables (left 2 are sales, right 2 are production) and a pic of the resultset where for each P-number the same OR-number is displayed.
Thanks in advance!
I am using 3 tables for the report:
table 1 holds part info
table 2 holds sales info
table 3 holds production info
Table 2 and 3 are each linked to table 1.
The input is a part number.
The output should be how many were used in sales and how many in production. Either one works fine but when I use both the sales and production table to the report, I get the same sales record for each production record. Probably because they both have the field Part in them. This way the output is way too big and displays records numerous times. Is this a matter of linking the tables differently, grouping differently or something different altogether?
Attached are a pic of the tables (left 2 are sales, right 2 are production) and a pic of the resultset where for each P-number the same OR-number is displayed.
Thanks in advance!