PC Review


Reply
Thread Tools Rate Thread

Data display - columns/rows

 
 
=?Utf-8?B?SSBuZWVkIGhlbHAh?=
Guest
Posts: n/a
 
      8th Nov 2006
I need help displaying data in a different format.

Data in table:
ID test result = column headers
001 A W
001 B X
002 A Y
002 B Z

Need to display in the following format with only 1 row per ID.
ID A B = column headers
001 W X
002 Y Z

What is the best way to do this?
Thank you!!!
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      8th Nov 2006
Try a crosstab query.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"I need help!" <(E-Mail Removed)> wrote in message
news:B42DECD3-62AB-4909-8CCC-(E-Mail Removed)...
>I need help displaying data in a different format.
>
> Data in table:
> ID test result = column headers
> 001 A W
> 001 B X
> 002 A Y
> 002 B Z
>
> Need to display in the following format with only 1 row per ID.
> ID A B = column headers
> 001 W X
> 002 Y Z
>
> What is the best way to do this?
> Thank you!!!



 
Reply With Quote
 
=?Utf-8?B?SSBuZWVkIGhlbHAh?=
Guest
Posts: n/a
 
      9th Nov 2006
Thank you so much! Cross-tab worked like a charm on the 2nd attempt (when I
first tried, I couldn't figure out how to get the values - if I selected an
aggregate function in the wizard, it was not letting me change it to display
the actual values). Thanks again!!!

"Douglas J. Steele" wrote:

> Try a crosstab query.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no private e-mails, please)
>
>
> "I need help!" <(E-Mail Removed)> wrote in message
> news:B42DECD3-62AB-4909-8CCC-(E-Mail Removed)...
> >I need help displaying data in a different format.
> >
> > Data in table:
> > ID test result = column headers
> > 001 A W
> > 001 B X
> > 002 A Y
> > 002 B Z
> >
> > Need to display in the following format with only 1 row per ID.
> > ID A B = column headers
> > 001 W X
> > 002 Y Z
> >
> > What is the best way to do this?
> > Thank you!!!

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rows to Columns - Diff Size Rows of Data Mishelley Microsoft Excel Programming 4 28th Jan 2009 02:00 PM
Columns and rows display change =?Utf-8?B?ZmFzY2Fs?= Microsoft Excel Programming 3 22nd May 2007 04:05 PM
Arrange data spanning 8 columns and 3 rows to 24 columns and 1 row =?Utf-8?B?cGZkaW5v?= Microsoft Excel Misc 2 19th Mar 2007 09:03 PM
Best way to display 4 rows / 4 columns matthewtec Microsoft VB .NET 3 13th Feb 2006 11:36 AM
Display Rows to Columns Leo Microsoft Access Reports 1 27th Sep 2004 09:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:21 AM.