Hi Michael,
I think a Crosstab would be more appropriate (If I'm interpreting this correctly).
You would however, need to have a table that lists all the possible codes and left Join to the existing table on the code field so that each PartNumber shows every code even if there isn't a record for that code.
Do you have a mock-up of how you visualize this?
-Abhilash