troubleshooting Question

Access transform "text" query

Avatar of guilloryt
guilloryt asked on
Microsoft AccessSQL
3 Comments1 Solution510 ViewsLast Modified:
How can I use access transform/crosstab query to rotate text as listed below. Don't want to summarize only calculate column header and list the actual value. Or alternatively in MS sql.

Source table...

Id      Material      Document
1      1                a1
2      1                b1
3      1                c1
4      2                a2
5      2                b2
6      2                c2
7      3                a3
8      3                b3
8      4                a4

Results .........

ID      Material      Doc1      Doc2      Doc3
5         1              a1              b1                c1
6         2              a2              b2                b3
7         3              a3              b3      
8         4              a4
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros