Hi Tek Tips members,
I have a temporary bill of materials table where several Product types are entered, the table is as below.
I have inserted the blank row for clarity.
Product, component, qty
A C1 2
A C2 1
A C3 2
B C1 1
B C2 1
B C4 2
C C1 2
C C2 2
C C3 2
C C4 2
1. Products may have approx 99% the same components but I would like to query to show the 1% that differs.
2. If the component is the same but the qty is different that does not need to be shown, it is only where the component is unique to one product.
3. It may help to explain if I say "do not show where a component exists in all products" or another way to put it "show where a component exists in one or more products but does not exist in all"
The query will show
A C3 2
B C4 2
C C3 2
C C4 2
Any pointers would be extemely welcome
TIA
Cliff
I have a temporary bill of materials table where several Product types are entered, the table is as below.
I have inserted the blank row for clarity.
Product, component, qty
A C1 2
A C2 1
A C3 2
B C1 1
B C2 1
B C4 2
C C1 2
C C2 2
C C3 2
C C4 2
1. Products may have approx 99% the same components but I would like to query to show the 1% that differs.
2. If the component is the same but the qty is different that does not need to be shown, it is only where the component is unique to one product.
3. It may help to explain if I say "do not show where a component exists in all products" or another way to put it "show where a component exists in one or more products but does not exist in all"
The query will show
A C3 2
B C4 2
C C3 2
C C4 2
Any pointers would be extemely welcome
TIA
Cliff