Solved

Access 2000

Posted on 2011-03-18
5
279 Views
Last Modified: 2012-06-27
Dear Experts,

Could you please check the attached small database, it contains Table1 as

Item      Sales      Qty
10101      West      1
10102      East      3
10102      North      4
10103      South      6
10103      East      7
10104      West      7

based on this a crosstab query like

Item      East      North      South      West
10101                        1
10102      3      4            
10103      7            6      
10104                        7

Could you please advise is there method in Access to not summarize the quantities, rather bringing the header category for the item? I imagined it like below

Item      East      North      South      West
10101                        West
10102      East      North            
10103      East            South      
10104                        West

thanks,
CrosstabHeaders.zip
0
Comment
Question by:csehz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:coolcurrent4u
ID: 35166686
Your requirements are not clear, what exactly are you trying to do?
0
 
LVL 44

Accepted Solution

by:
GRayL earned 500 total points
ID: 35166914
This do it?

TRANSFORM First(Sales)
SELECT Item
FROM Table1
GROUP BY Item
Pivot Sales;
0
 
LVL 4

Expert Comment

by:coolcurrent4u
ID: 35167323
post a picture of what the final output should look like
0
 
LVL 1

Author Comment

by:csehz
ID: 35171111
GRayL that is perfect :-) Thanks very much
Access.jpg
0
 
LVL 44

Expert Comment

by:GRayL
ID: 35172588
Thanks, glad to help.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

615 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