Results 1 to 5 of 5
  1. #1
    Bobby100 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2016
    Posts
    13

    Pivot table ref

    Click image for larger version. 

Name:	Capture.JPG 
Views:	8 
Size:	42.2 KB 
ID:	26266

    Hi,

    I have a table as pasted above that I need to PIVOT.

    If the columns are hard to read they are..

    REF_ROW_NO REF_SOURCE_FIELD REF_SOURCE_VALUE

    I would like the table pivoted so that each ref_row_no is combined together.. hence for ref_row_no =2, i would have a column for value desc with a value of 'Controlled River' and a column called VALUE_ID with a value of 313.

    Is this possible?



    Thanks,

    Rob.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Can you not use a Crosstab query?

  3. #3
    Bobby100 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2016
    Posts
    13
    No I need to do this with SQL at the moment as this is in Oracle SQL developer

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,428
    or just change the table view to pivot table and drag your columns to where required

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    access can run the crosstab sql from Oracle.

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

Similar Threads

  1. Replies: 0
    Last Post: 09-22-2014, 07:07 AM
  2. Printing a Pivot Table
    By nik9 in forum Queries
    Replies: 1
    Last Post: 10-16-2012, 12:32 PM
  3. Pivot Table Format
    By TPH in forum Access
    Replies: 1
    Last Post: 01-03-2012, 11:59 AM
  4. [Help] Access Pivot Table
    By weiguo.shi in forum Queries
    Replies: 0
    Last Post: 05-18-2011, 09:49 AM
  5. Pivot table problems...
    By netserf in forum Access
    Replies: 1
    Last Post: 08-22-2010, 11:43 AM

Tags for this Thread

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