Solved

Pivot in Access

Posted on 2014-02-10
1
251 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
ID: 39848677
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HasData 9 37
Excess tables to Excel BackUp 3 28
Help Parsing a String with SQL Syntax 23 28
t-sql split string into multiple rows 7 35
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

910 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

20 Experts available now in Live!

Get 1:1 Help Now