Results 1 to 5 of 5
  1. #1
    citygov is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    5

    query that sums the data for me

    I need to write a query that takes basic address info and combines it with a customer's total due. The customer address table is all set, and the key for both tables is linked fine, but the financial table I need the total from can have multiple lines of current amount due for each customer. Is it possible to have the query automatically sum up the total in the "amounts" field for each customer number? The only other option I can think of is to dump the financial into excel, manually total each customer's total due, and use that figure in the amount field. Any help is appreciated - thanks!
    Mike

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Sure; you want a totals query. Start with a basic query, then click on the big Greek "E" on the ribbon that says totals. You'd want Sum in the amount columns in the new row you'll see.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    citygov is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    5
    Oh my gosh, I never even looked at that. I'm so used to simple, quick queries that I never looked any deeper! Thanks!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem! Totals queries are a valuable tool.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 07-10-2011, 11:20 PM
  2. Incorrect Sums
    By Azyrus in forum Reports
    Replies: 6
    Last Post: 06-26-2011, 04:27 PM
  3. Excessive 'sums'
    By Captain Database ...!! in forum Queries
    Replies: 3
    Last Post: 06-23-2011, 02:37 PM
  4. How do I sum multiple sums?
    By RobRay in forum Reports
    Replies: 6
    Last Post: 11-26-2010, 08:48 PM
  5. Rolling 3 Month sums
    By michaeljohnh in forum Reports
    Replies: 1
    Last Post: 11-08-2010, 05:51 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