Results 1 to 2 of 2
  1. #1
    tanyalee123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    51

    Question Report Totals Disappear...

    I have a report that is run from a query. The purpose of the report is to see totals, so in my report I am using this type of syntax to get totals: =DCount("*","[qryAdvocacyPhone_Totals]","[BENEFITS_Advocacy]") for each field that I want totals on. Works great!!

    However, the report is useless without a date range, so I entered date criteria in the query as so: Between ["Enter beginning date"] and ["Enter end date"]. When I run the query, it works fine; I get the results within the date criteria. But when I run the report now with the date criteria in it, my totals don't show up at all; they are blank. I am at a loss as to why this would be.



    Anyone have an idea? Let me know if you need anymore info. Thanks!!
    Tanya

  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,630
    Domain aggregate functions pull data directly from table - not the report's recordset. It should aggregate data for all records, regardless of date range criteria because that criteria is not in the DCount filter argument. Don't know why not showing.

    If you want a count of the report's records, use Count(*) in textbox in report header/footer section.
    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 of just totals
    By TubbzUK in forum Reports
    Replies: 1
    Last Post: 02-12-2013, 11:15 PM
  2. Sub report totals
    By brownk in forum Reports
    Replies: 9
    Last Post: 01-11-2013, 02:59 PM
  3. Report totals don't match
    By RayMilhon in forum Reports
    Replies: 7
    Last Post: 11-30-2012, 10:44 AM
  4. Totals Query for Report
    By SpdRacerX in forum Queries
    Replies: 3
    Last Post: 05-01-2012, 02:25 PM
  5. Replies: 5
    Last Post: 12-06-2011, 11:18 AM

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