Changing from Row into columns

T

Twee

Hi,

This is my first time posting so I hope I make sense. I have a table where
I need to change from row into one line column.

This is what I have:
Patient ID Code Code
A 123
A 456
A 789
A 147

Each patient could have varying number of codes. For instance, patient A
has four codes but patient B has 18 codes.

This is What I need: Everything in column instead, with room for up to 50
codes

Patient ID Code 1 Code 2 Code 3
Code 4
A 123 456 789
147

Can anyone please help me? I tried a crosstab query but it did not seem to
work...Any ideas will help me greatly. Thank you!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top