Results 1 to 3 of 3
  1. #1
    jnes006 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Aug 2014
    Posts
    5

    Count Per Month Problem in Sub-Report

    Hello

    So I have a sub-report in Access 2010, and I need it to count the number of Cases each month.

    My source query has two columns; Case_# and Date_Opened (example below)

    C-1402 1/15/14
    C-1403 1/16/14


    C-1404 1/18/14
    C-1405 1/18/14

    My problem is a simple =Count([Case_#]) returns too few results.
    Notably, the sub-report is in my report footer grouped on month.
    My goal is to have each page in the report correspond to a month (e.g. Jan is page 1, Feb is page 2)

    Any assistance is greatly appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Is a subreport really necessary? Are the subreport Master/Child Links properties set?

    Want to provide db for analysis? Follow instructions at bottom of my post.
    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
    jnes006 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Aug 2014
    Posts
    5
    Quote Originally Posted by June7 View Post
    Is a subreport really necessary? Are the subreport Master/Child Links properties set?

    Want to provide db for analysis? Follow instructions at bottom of my post.
    Hi, thanks for your response. I tried a sub report based on its own query. The reason being, if I count the cases in the main report query I get duplicates included because I have a one-to-many field of Products. Essentially I need the duplicate cases on the main report, but not in the sub report. I will try to attach a version of the db. Thanks again

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

Similar Threads

  1. Replies: 1
    Last Post: 07-18-2014, 06:20 AM
  2. Replies: 8
    Last Post: 01-29-2014, 12:56 PM
  3. creating a report to count by month
    By kwooten in forum Reports
    Replies: 13
    Last Post: 09-12-2011, 01:29 PM
  4. Replies: 11
    Last Post: 12-09-2010, 10:55 PM
  5. Individual weekday count in a month
    By Silver_A in forum Queries
    Replies: 6
    Last Post: 04-16-2010, 08:14 PM

Tags for this Thread

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