Results 1 to 3 of 3
  1. #1
    krisN is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    4

    Query of a Query Question

    Hello, I have a query with the fields "Product Type", "Quantity", and "Cost". I want to create another Query of this query that sums the quantity and cost in separate fields. For example, a "Fan Motor" has many records with different costs and quantities associated to it, I would like the query to sum the total quantity and costs of that "Fan Motor".



    Thank you,
    Kris

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    if your query is this simple you shouldn't need the secondary query. You'd just need to create an aggregate query (look for the SIGMA button, looks like a capital E on your toolbar). It will create a TOTALS row in your query which, by default, will say GROUP BY, change the QUANTITY and COST column TOTALS row to say SUM and you should get the result you want.

  3. #3
    krisN is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    4
    thanks! that worked

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

Similar Threads

  1. Query question
    By jscriptor09 in forum Queries
    Replies: 2
    Last Post: 06-12-2013, 03:30 PM
  2. Query question
    By jerrypeco in forum Queries
    Replies: 20
    Last Post: 06-06-2013, 10:27 AM
  3. query question
    By John Elway in forum Queries
    Replies: 5
    Last Post: 11-09-2011, 09:58 PM
  4. Query Question
    By Guiseppe in forum Queries
    Replies: 5
    Last Post: 03-23-2010, 04:32 PM
  5. Query Question
    By blewis in forum Queries
    Replies: 0
    Last Post: 04-16-2009, 01:37 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