How to get row count printed on bottom of a detail report?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ncsthbell
    New Member
    • May 2007
    • 167

    How to get row count printed on bottom of a detail report?

    I have a report that has a record source of a parameter query. The report prints all the detail rows associated with this parameter value. I have been requested to put a 'record count' at the bottom of the report. I have been fooling around with this about 2 hrs now and can't get it to work. Any suggestions would be appreciated!!
  • dsatino
    Contributor
    • May 2010
    • 393

    #2
    In the detail footer, put a text box with a control source something like this:

    Code:
    =Count([AnyOneOfYourFieldsHere])
    Last edited by NeoPa; Nov 24 '10, 02:12 AM. Reason: Added CODE tags

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32661

      #3
      DSatino's pretty well right, but I suspect you need to give the name of one of the form's controls rather than one of the fields associated with the RecordSource. Otherwise it's as simple as he says.

      PS. Just noticed that the section advised isn't a possible one (Detail and Footer are separate sections). It would go in the report footer.

      Comment

      Working...