Results 1 to 3 of 3
  1. #1
    waldi is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    1

    Crosstab to table query

    Hi, I made a crosstab (1.png) query from data (2.png), then I manipulated the data (more price breaks). Now I need to change the data (1.png) back into the format in image 2.png. Unfortunately, here I´m completely lost. Any suggestions, thanks?


    Click image for larger version. 

Name:	1.PNG 
Views:	6 
Size:	16.1 KB 
ID:	33125

    Click image for larger version. 

Name:	2.PNG 
Views:	6 
Size:	31.2 KB 
ID:	33126

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,411
    why not just copy your crosstab sql to a new query, then change to a group by/append query and use criteria to exclude the columns you don't want?

    otherwise you will need multiple append queries, one for each column required

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    I don't understand.
    Your crosstab was based on a table or query -
    Crosstabs are read only so if you added extra price breaks you either:
    a) edited the original table so you still have that data
    b) used a make table query based on your crosstab & then deleted the original

    If a) then you already have what you need
    If b) then you will need to do something like ajax described with a series of append queries for 1 column of From_Qty data at a time.
    Easy but repetitive
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 03-31-2016, 03:33 AM
  2. Replies: 8
    Last Post: 03-22-2012, 08:48 AM
  3. Make Table Quesry Help
    By worldwidewall in forum Access
    Replies: 4
    Last Post: 02-13-2012, 06:41 PM
  4. Replies: 2
    Last Post: 08-01-2011, 11:35 PM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums