Results 1 to 6 of 6
  1. #1
    crimedog is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    141

    Create Report with SubReport Filtered by ComboBox and date in header

    See attached


    I have created a list of orders (Table)
    I query the Table - filtering by Year and Quarter (Quarter being a calculated field)

    Now - I want to print report - One page per Rep That shows Rep Information Then the Deals by Month (depending on the Quarter chosen)
    So Subreport 1 should show Jan if quarter 1 April if Quarter 2 etc...
    SubREport 2 shows Feb, May, etc...
    etc...

    So far it Asks the Year and Quarter for each Rep for each subreport (so open in Design Mode)

    Also - how do I set a checkbox or something that filters out all the reps that do not have a null value in exit date?
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Why are you using subreports? Consider a single report using Grouping & Sorting features. Access Help has guidelines

    Don't use parameter input popups. Build a form for user input of criteria. Reference controls on form for parameters.

    Review:
    http://www.datapigtechnologies.com/f...mtoreport.html
    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
    crimedog is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    141
    Thanks for the link -I knew about DataPig, but haven't watched this - Very Nice.
    The subreports are because I want a report for every Rep - for a particular Quarter that shows each Deal from January with subtotals, February with Subtotals etc...

    In essence: Month 1, Month 2, Month 3 of the quarter. Seperated and totaled

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Still sounds like a report with Grouping & Sorting should be able to accomplish that.
    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.

  5. #5
    crimedog is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    141
    Okay I have Grouping to seperate the months - How would I subtotal the groups?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Can have multiple groupings.

    Textbox with aggregate function expression in group or report or page header/footer can summarize at any of those levels.

    =Sum([fieldname])

    =Count([fieldname])

    =Avg([fieldname])

    etc.
    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. Report and Subreport by date
    By HelpPlease in forum Reports
    Replies: 1
    Last Post: 11-14-2012, 03:04 PM
  2. Open Report filtered by Date in ListBox
    By TinaCa in forum Programming
    Replies: 1
    Last Post: 03-06-2012, 02:29 PM
  3. Replies: 1
    Last Post: 02-28-2012, 05:05 PM
  4. Page Header missing from Subreport
    By cphelps48 in forum Reports
    Replies: 4
    Last Post: 02-12-2012, 10:20 PM
  5. Replies: 1
    Last Post: 03-30-2010, 11:31 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