Results 1 to 4 of 4
  1. #1
    Charityrae20 is offline Novice
    Windows 10 Access 2007
    Join Date
    May 2022
    Posts
    1

    Need Help to Append Crosstab Query to Existing Table

    Question...I'm trying to figure out how to append a crosstab query to update an existing table. My issue is that I need the crosstab query to look at the primary key of the existing table and put the data in the appropriate row/field.

  2. #2
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Perhaps, bring the query and the table into Power Query and use the Append Feature. To do this, you must be using XL2010 or later.

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    Normally crosstab queries are summary data snapshots of e.g. aggregate queries and don't include the primary key field.

    If you really must duplicate data, just base the append query on the source data not the crosstab.
    But the question is whether you really do need to store the data twice.
    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

  4. #4
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    My issue is that I need the crosstab query to look at the primary key of the existing table and put the data in the appropriate row/field.
    this looks more like the need for an update query rather than an append query.

    you really need to provide more information such as the sql and result of the crosstab and the design of the table you want to append (or update)

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

Similar Threads

  1. Replies: 1
    Last Post: 09-05-2018, 04:19 AM
  2. Replies: 5
    Last Post: 02-18-2018, 04:20 PM
  3. Add/append data to crosstab query
    By DatabaseIntern in forum Queries
    Replies: 4
    Last Post: 08-02-2012, 10:15 AM
  4. Crosstab query with no existing entry
    By Omenphaux in forum Queries
    Replies: 1
    Last Post: 06-06-2012, 03:04 PM
  5. Replies: 2
    Last Post: 05-21-2012, 08:46 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