rearrange data - kind of pivot table

D

Dan

Is there a way to have a query that will from:

Class Topic Name
A English Marc
B Math Dan
C Math Lisa
A English Jhon
A Math Dave
B History Ling

Give a result of:

English Math History
A Marc Dave
Jhon
B Dan Ling
C Lisa

Many thanks,
Dan
 
A

Allen Browne

Use a crosstab query, where:
- Class is the row heading;
- Topic is the column heading;
- Name is the value.

(Hopefully these are not the real field names, as Class and Name are both
reserved words.)
 
D

Dan

Thanks but that give me me a count or other aggregate result but I need a
list of value as per my example.
Any idea?
Thanks
 

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