Results 1 to 2 of 2
  1. #1
    Bucky16 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2015
    Posts
    1

    Sum Total In a SubGroup on Report


    Hello,

    I have a report that displays a customer name and then shows contracts for that customer as a sub-group. For each contract there are multiple material numbers. I would like to show a sum for each contract for a certain group of products. I have tried the DSUM function but I can not get that to work, and I'm not sure if there is a better way to accomplish this other than DSUM. For example, a customer contract may have a number of different TVs that they have purchased as well as a number of DVD players. I would like to show the total sales for TVs for that contract, and I would like to show the total sales for DVDs for that contract. How do I make this grouping within a group based on the product type criteria?

    Thanks,

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    What is material number for?

    Maybe another group on product type with Sum() calc in that group footer?

    Are you only concerned with TVs and DVDs? Maybe an IIf() expression in the contracts group can return summary. Like:

    =Sum(IIf([product]="TV", [quantity], 0))

    What did you attempt with DSum? Domain aggregates must pull data from table or query objects, does not work by referencing form or report object.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Sum total on our report is not working
    By Forums10 in forum Queries
    Replies: 2
    Last Post: 04-20-2015, 10:08 AM
  2. Replies: 3
    Last Post: 01-18-2015, 06:05 PM
  3. Select and import subgroup
    By Szymon in forum Access
    Replies: 1
    Last Post: 03-06-2014, 12:15 PM
  4. Total in a report
    By jenncivello in forum Reports
    Replies: 2
    Last Post: 07-19-2012, 12:49 PM
  5. Replies: 1
    Last Post: 06-29-2010, 03:40 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