Results 1 to 3 of 3
  1. #1
    The Professor is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2012
    Location
    Cambridgeshire, UK
    Posts
    67

    Sum of Fields Across Records

    Hi,


    I have a simple query, which works well enough as far as it goes, but I need it to show me the combined total of the currency field.
    For example, the Query will show me a list of all customers who have not yet paid, and the outstanding amount each customer owes, this amount is stored in the currency field. Lets asssume the query shows there are 15 customers, each of which have an outstanding debt. The individual amounts are listed in each record, but I also need the Query to show Grand Total for all 15 records. Is there a way of getting the Query to do this?

    Here's hoping,
    Prof.

  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,652
    Typically you would do this in a report or form, not in a query. It can be done, but it involves using a union query to join the existing query with a totals query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    The Professor is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2012
    Location
    Cambridgeshire, UK
    Posts
    67
    Ok, thanks for that. I might just leave the idea on the back burner for now, come back to it later if I have time.

    I had hoped it might have been more straightforward than that but nevermind (wouldn't it have been nice though, if the Query, in datasheet view, had a final row at the bottom, in which the total could be displayed).

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

Similar Threads

  1. Table Fields and Sets of Records
    By kennyrogersjr in forum Access
    Replies: 2
    Last Post: 11-14-2010, 10:05 PM
  2. Concatenating fields from matching records
    By MWMike in forum Queries
    Replies: 1
    Last Post: 10-28-2010, 10:49 PM
  3. Replies: 3
    Last Post: 10-06-2010, 06:33 AM
  4. multiple fields in separate records
    By Fredo0709 in forum Database Design
    Replies: 9
    Last Post: 04-09-2010, 12:23 PM
  5. Adding of Fields in Different records
    By pcliaros in forum Queries
    Replies: 1
    Last Post: 03-17-2010, 02:31 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