This keeps coming back to haunt me so any help would be appreciated. I have one table, Dbo_tblParts_Other, the fields i want are Partcode, Alt_Partcode, and Supplier. The data is stored thus:
Partcode Alt_Partcode Supplier
AM9026 81459634 Volvo
AM9026 85422266 Volvo
AM9026 88456317 Volvo
I want to pivot this to be as below, there may be 10 Alt_Partcodes or 1, I intend to do this by supplier so the number of Suppliers is not important.
Partcode Volvo Volvo Volvo
AM9026 81459634 85422266 88456317
My Sql and VBA skills are none existent so any help would be great, and need to be explained simply
Partcode Alt_Partcode Supplier
AM9026 81459634 Volvo
AM9026 85422266 Volvo
AM9026 88456317 Volvo
I want to pivot this to be as below, there may be 10 Alt_Partcodes or 1, I intend to do this by supplier so the number of Suppliers is not important.
Partcode Volvo Volvo Volvo
AM9026 81459634 85422266 88456317
My Sql and VBA skills are none existent so any help would be great, and need to be explained simply
