Counting the number of records in a report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to count the number of records within a report, but cannot seem
to determine the correct formula. I envision the "Count" field being placed
in the footer of the report and automatically totaling the number of records
within the report. However, I don't know if an underlying paramater query
will cause a problem with running the count function.
 
Beth Boughan said:
I would like to count the number of records within a report, but
cannot seem to determine the correct formula. I envision the "Count"
field being placed in the footer of the report and automatically
totaling the number of records within the report. However, I don't
know if an underlying paramater query will cause a problem with
running the count function.

What have you tried? Normally, a text box with the controlsource

=Count(*)

placed in the report footer section (not the page footer section) will
do the trick. Or you can add some explanatory text to the
controlsource, like this:

="A total of " & Count(*) & " records were included in this report."
 
I would like to count the number of records within a report, but cannot seem
to determine the correct formula. I envision the "Count" field being placed
in the footer of the report and automatically totaling the number of records
within the report. However, I don't know if an underlying paramater query
will cause a problem with running the count function.

=Count(*) in the Report Footer will return the number of records in
the report.

= Count(*) in a Group Header/Footer will return the number of records
in that group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top