Total record count

  • Thread starter Thread starter anslo
  • Start date Start date
A

anslo

Guest
Hello,

I'm stuck! I can count the number of records shown on a report, but how do I show the total number of records in a database in a footer?

Thanks everyone.

-Andrew
 
Probably the easiest way is:

Choose a field in the table (your primary key will do) and use the following formula in a text box in the footer:

=Abs(Sum([Your Table].[Your Primary Key]))

Works for me!
 
Access has a count function. That's the easiest way to go.
 
In the design view of your report under report footer, create a textbox and in the control source put:
=Str(Count(*)) & " records"
 

Users who are viewing this thread

Back
Top Bottom