Results 1 to 6 of 6
  1. #1
    bruegel is offline Advanced Beginner
    Windows 10 Access 2003
    Join Date
    Jul 2012
    Location
    London
    Posts
    40

    Sum in make table query field name

    Access 365.



    I have a make table query I've used for years and a field called "Income" I put sum in Total box and it creates "Sum of Income" All fine and dandy

    I copied the query as I wish to apply to different data set. This time created field is just "Income" not "Sum of Income"

    I can't see any difference between the two queries. I even copied the SQL in each and compared character count.

    The reason I ask is that the table with "Sum of Income" is used is series of nested queries and that means a whole series of changes which I'd rather avoid

    Any ideas on how to get the "Sum of.." element back please?

    Thanks for help

    Pieter

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,992
    Use an alias in your query field
    Sum of income : Income
    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

  3. #3
    bruegel is offline Advanced Beginner
    Windows 10 Access 2003
    Join Date
    Jul 2012
    Location
    London
    Posts
    40
    I realise I can do that but I have any number of queries using calculated fields and wish to understand the issue otherwise some queries may create "Sum of Sum of Income" which creates the same non-recognition of field name problem in nested queries.

    Peter

  4. #4
    bruegel is offline Advanced Beginner
    Windows 10 Access 2003
    Join Date
    Jul 2012
    Location
    London
    Posts
    40
    Sorry - thanks for the suggestion though. I wasn't belittling the reply

  5. #5
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,992
    That's fine but it wasn't what you asked.
    Unless you post your query SQL, it's impossible for anyone to explain why it happened.
    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

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,970
    Questions I have:

    Why a process that requires making table?

    Why saving aggregate data to table?
    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. Replies: 2
    Last Post: 09-09-2015, 10:51 AM
  2. Add a blank field through a make table Query
    By SaraBanu in forum Access
    Replies: 5
    Last Post: 08-30-2013, 06:12 AM
  3. Replies: 5
    Last Post: 06-19-2012, 10:46 AM
  4. Field changes in Make table query
    By asherbear in forum Queries
    Replies: 9
    Last Post: 05-29-2010, 01:35 PM
  5. Replies: 2
    Last Post: 04-20-2010, 12:47 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