Hi,
Im querying the Bill of Materials (BOM) table in my db which basically stores what component is used to make a product and how many of these components are needed to make this product. For e.g. To make 1 car I need 4 tires. However, a particular product can be used to make multiple products. For e.g. the same tire goes to make a Bike as well.
So my table contains data in the following format -
Main Item Component Qty
Car Tire 4
Car Doors 4
Bike Tire 2
This format is also the way my query returns the data. The where clause contains a range of 'Main Items'.
However, I need to display the data in a different format -
Component Car Bike
Tire 4 2
Doors 4 0
Any ideas on how I could achieve this in Crystal Reports if at all this can be done in CR?
Im using CR version 10.
Thanks in advance,
MG.
Im querying the Bill of Materials (BOM) table in my db which basically stores what component is used to make a product and how many of these components are needed to make this product. For e.g. To make 1 car I need 4 tires. However, a particular product can be used to make multiple products. For e.g. the same tire goes to make a Bike as well.
So my table contains data in the following format -
Main Item Component Qty
Car Tire 4
Car Doors 4
Bike Tire 2
This format is also the way my query returns the data. The where clause contains a range of 'Main Items'.
However, I need to display the data in a different format -
Component Car Bike
Tire 4 2
Doors 4 0
Any ideas on how I could achieve this in Crystal Reports if at all this can be done in CR?
Im using CR version 10.
Thanks in advance,
MG.