Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2011
    Location
    Sault Ste. Marie, Ontario, Canada
    Posts
    28

    Question Excessive 'sums'

    I am trying to create a query ordered by ...

    (table: field, grouping, sorted)

    -----------------------------------------
    HostSpecies: Key_Species; group-by
    Stands: Key_Stands; group-by; ascending
    Operation: Key_Operation; group-by
    Seeds: GR_Parasitees; sum
    -----------------------------------------



    My sum, however, keep returning numbers
    way in excessive of what the referred-to
    data actually sums to. E.G.,

    As tested in Excel, Key_Species/Stands/Operation 2/100/4 should yield a [GR_Parasitees] sum of 1118. Instead, however, my query is giving said-data a [GR_Parasitees] sum of 74764. Any suggestions?

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Can you post the database or a database with example data that mimics the problem? Please include the query that gave the incorrect sum.

  3. #3
    Join Date
    Jun 2011
    Location
    Sault Ste. Marie, Ontario, Canada
    Posts
    28

    Wink

    Quote Originally Posted by jzwp11 View Post
    Can you post the database or a database with example data that mimics the problem? Please include the query that gave the incorrect sum.
    Thanks for replying; I think I've already figured it out, though - I had one set of version brackets at the wrong end of a table-name, which I guess would have compounded intended calculations when access wrote them into SQL?

    In any event, switching (v4)table_name to table_name(v4) seems to have solve it; yes, another case solved by the impeccable "Captain Database ...!!"

  4. #4
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Glad you got it worked out. Good luck with your project.

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

Similar Threads

  1. Incorrect Sums
    By Azyrus in forum Reports
    Replies: 6
    Last Post: 06-26-2011, 04:27 PM
  2. Summing Sums in records...?
    By Hrtlover in forum Reports
    Replies: 33
    Last Post: 04-16-2011, 09:38 PM
  3. Filter Sums By year
    By vdanelia in forum Forms
    Replies: 1
    Last Post: 02-12-2011, 09:15 PM
  4. How do I sum multiple sums?
    By RobRay in forum Reports
    Replies: 6
    Last Post: 11-26-2010, 08:48 PM
  5. calculating sums in reports
    By Hannu in forum Reports
    Replies: 1
    Last Post: 03-12-2009, 02:59 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