Working in Access 2003.
I'm trying to write a query and have been looking at the TRANSFORM and PIVOT keywords, but can't seem to get them connected right.
My table is like this:
I want the results to look like this:
Can anyone help me out with this? Thanks.
I'm trying to write a query and have been looking at the TRANSFORM and PIVOT keywords, but can't seem to get them connected right.
My table is like this:
Code:
PrimaryKeyID MyType MyValue 1 Fruit Apple 1 Veggie Tomato 1 Meat Chicken 2 Fruit Orange 2 Veggie Potato 3 Fruit Banana
Code:
PrimaryKeyID Fruit Veggie Meat 1 Apple Tomato Chicken 2 Orange Potato NULL 3 Banana NULL NULL
Comment