Results 1 to 4 of 4
  1. #1
    tariq nawaz is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    31

    my query working fine. i want the query to find the total showing all the rows

    i have select query which selects the records what i need.



    i just need the sum of the items on the botton of the columns.
    is there any way i can change the query that it shows all the records the way they are but shows totals on end.

    Regards

    A learner

  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
    You would normally do that on a form/report, but my friend A.D. has a query sample here:

    http://www.rogersaccesslibrary.com/f...-96c1b53c.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    tariq nawaz is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    31
    thanks baldy you are such a great help always.

    it says to have subtotal for different categories but i need grand total.
    i need
    1
    3
    5
    7
    8

    total 22
    i can do the query which is
    SELECT Sum(input.Weight) AS SumOfWeight
    FROM [input]
    WHERE (((input.Service)="RegisteredMail"));
    it gives me the total value 22 whcih i want
    but i am not sure how to use that in query on the end of the line of the above list showing me all the numbers as well as well total on end.



    on another query i can run which shows all the numbers in the list as i write above.
    i want a query which shows me all that numbers and total on the end.
    i have gone through web and tried all but no victory so far.

    hope you understand my situation .
    a help will be highly appreciated.

    Regards

    A learner

  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
    Same concept; union the two queries together.
    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. Query to find and COMBINE rows based on 2 fields
    By admessing in forum Queries
    Replies: 2
    Last Post: 12-13-2011, 12:59 PM
  2. Replies: 1
    Last Post: 10-12-2011, 08:07 AM
  3. Showing Columns & Rows in Crosstab query
    By coach32 in forum Queries
    Replies: 6
    Last Post: 09-11-2011, 07:01 PM
  4. 'Total rows' in query
    By sk88 in forum Access
    Replies: 4
    Last Post: 08-29-2011, 09:31 AM
  5. Replies: 1
    Last Post: 08-17-2010, 11:24 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