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

    Summarizing records in a subreport

    I have the following tables in my database:
    Customers -> Orders -> OrderItems -> Items -> Components -> Parts -> Specifications -> Costs, each linked to the next in a 1-M relationship with appropriate FKs.

    I have designed a report which displays the records for each order from all 8 tables in a grouped and nicely stepped format right up to specs and costs. But in order for it to make sense to the user, I also need to show summary data on a separate subreport for the total requirement per order of each material in specs. This too I have managed to do nicely enough.



    Where I am getting stuck is trying to make a second subreport which will show ALL requirements in detail per order and per item but WITHOUT the components and parts levels. If I exclude these immediate levels, all I get is a totals of each spec whereas I need to show each detail.

    Any help will be appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    You want Specs and Costs without Components and Parts? Would that output make sense?
    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.

  3. #3
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    228
    No, I mean I want to show the detail records for specs and costs at Grouping Level 1 and 2, whereas Components and Parts are at Grouping Levels 3 and 4.
    Hope that makes sense.

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

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Maybe understand. The query has to include Components and Parts because that's how the linking is set up. Just don't show the Components and Parts fields in the report and set report grouping at the higher levels. How does that look?
    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.

  6. #6
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    228
    Yes, I suspected that. Thanks for the pointer, I will try it out and revert if it fails.

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

Similar Threads

  1. Criteria for Subreport
    By blazerboy6 in forum Reports
    Replies: 4
    Last Post: 08-09-2011, 12:46 PM
  2. Empty Subreport
    By runbear in forum Reports
    Replies: 5
    Last Post: 04-23-2011, 12:26 PM
  3. Columns in a subreport
    By kcm4491 in forum Reports
    Replies: 1
    Last Post: 03-10-2011, 12:11 AM
  4. Report and Subreport
    By newbie in forum Reports
    Replies: 0
    Last Post: 02-16-2010, 12:14 PM
  5. Trouble Summarizing in Group Footer
    By Millerguitarworks in forum Reports
    Replies: 2
    Last Post: 12-07-2009, 06:06 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