Hello all.
I currently have the following table:
[tt]
|---------| Cars | SUV | Trucks |
| Plant A | 4 | 5 | 6 |
| Plant B | 3 | 4 | 2 |
[/tt]
I would like to convert this to the following, with PlantID and ProductID as the primary keys. A separate table would contain PlantID and associated info, and ProductID and associated info.
[tt]
|PlantID|ProductID|ItemCount|
| A | Car | 4 |
| A | SUV | 5 |
| A | Truck | 6 |
| B | Car | 3 |
| B | SUV | 4 |
| B | Truck | 2 |
[/tt]
How can I do this in Access? I tried using an append query, but I can't figure out how to separate each column onto its own row. The append query only lets you create a single row at a time. How can I have it add each catagory as its own row?
Thanks.
I currently have the following table:
[tt]
|---------| Cars | SUV | Trucks |
| Plant A | 4 | 5 | 6 |
| Plant B | 3 | 4 | 2 |
[/tt]
I would like to convert this to the following, with PlantID and ProductID as the primary keys. A separate table would contain PlantID and associated info, and ProductID and associated info.
[tt]
|PlantID|ProductID|ItemCount|
| A | Car | 4 |
| A | SUV | 5 |
| A | Truck | 6 |
| B | Car | 3 |
| B | SUV | 4 |
| B | Truck | 2 |
[/tt]
How can I do this in Access? I tried using an append query, but I can't figure out how to separate each column onto its own row. The append query only lets you create a single row at a time. How can I have it add each catagory as its own row?
Thanks.