Solved

Pivot in Access

Posted on 2014-02-10
1
250 Views
Last Modified: 2014-02-13
I have a table with the following:

EncounterID     DiagnosisCode
1                           482.5
1                            702.6
1                           892.5
1                            412.5
2                            825.3
2                            632.4
2                               132.4

I need this:

EncounterID    DiagIDOne     DiagIDTwo   DiagIDThree   DiagIDFour
1                         482.5               702.6                   892.5              412.5
2                          825.3                632.4                 132.4


Any ideas?  

Thank you all in advanced.

JamesNT
0
Comment
Question by:JamesNT
1 Comment
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
Comment Utility
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now