Results 1 to 4 of 4
  1. #1
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    228

    Group by Level2 BUT Total by Level3


    I have a query which returns records that can be grouped at four levels: Orders --> Products --> Components --> Parts --> Materials. The Materials records appears in the details section. I want to summarize Materials data (requirements and costs) at the upper group levels. What is happening right now is that the group totals are not grouping different material data but instead calculating the total lengths for all material types together.
    The title above is the best way I can sum this up. Any help?

  2. #2
    apr pillai's Avatar
    apr pillai is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Alappuzha, India
    Posts
    209
    Display Group Header/Footer Sections of Group levels you want to take Summary. Add Textboxes and write Summary Functions (Sum(), Avg(), Count() whatever required) in the Group Footer or Header Sections.

  3. #3
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    228
    Thank you, @APRPillai for your response. In order to illustrate my specific need, please see the attached spreadsheet showing how I have calculated the sum of Materials grouped on OrderItem# in Sheet2 and grouped on Order# in Sheet3. This is what I want to recreate in Access reports.

    Although this recordset is based on a long query joining 8 tables, I believe the query itself is not required for the purpose of my request. However, if needed, please let me know.
    Last edited by goodguy; 10-05-2011 at 02:54 AM. Reason: Uploaded file.

  4. #4
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    228
    Any help will be greatly appreciated.

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

Similar Threads

  1. query group by over another group by?
    By gap in forum Queries
    Replies: 2
    Last Post: 07-04-2011, 12:59 AM
  2. Replies: 5
    Last Post: 11-29-2010, 08:16 AM
  3. columns for group detail but not group header?
    By Coolpapabell in forum Reports
    Replies: 0
    Last Post: 08-21-2009, 08:53 AM
  4. Replies: 1
    Last Post: 03-12-2009, 09:55 AM
  5. not correct running total in group
    By cmk in forum Reports
    Replies: 1
    Last Post: 12-06-2006, 05:56 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