Results 1 to 2 of 2
  1. #1
    Jim.H. is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    16

    Rows to columns

    Rows to columns;
    I have a table with three fields
    ID,Desc,Code
    1,aaa,code1
    2,bbb,code2


    3. aaa,code3
    4, bbb,code4

    I need a query creating these two columns:
    Desc,Code
    aaa,code1;code3
    bbb,code2;code4

    how can I do this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Common topic. Search forum or Google (crosstab, horizontal, left to right). Here is one
    https://www.accessforums.net/forms/d...lly-20989.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Rows into Columns
    By chrisdavis in forum Programming
    Replies: 16
    Last Post: 12-22-2011, 01:58 PM
  2. Table rows to columns
    By Rhino373 in forum Programming
    Replies: 5
    Last Post: 12-22-2011, 01:44 PM
  3. Columns, Rows & Cells
    By Paul H in forum Reports
    Replies: 7
    Last Post: 09-21-2011, 12:27 PM
  4. Colouring Rows & Columns
    By Outlook in forum Access
    Replies: 1
    Last Post: 01-12-2011, 09:22 AM
  5. Combining columns into rows
    By steeveepee33 in forum Queries
    Replies: 5
    Last Post: 04-30-2009, 09:18 PM

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