By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,655 Members | 1,782 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,655 IT Pros & Developers. It's quick & easy.

total # of records in a report

P: 12
is there a simple way to attach the total number of records in a report to a text box on the report? I tried using the count function in the expression builder, but it returns the number 70 even thought there are only 2 records. I am using access 2000.
Thanks in advance
Feb 11 '08 #1
Share this Question
Share on Google+
2 Replies


maxamis4
Expert 100+
P: 295
Need more info but as long as you enter count([variable in your report]) in the group footer than it should count.
Feb 11 '08 #2

ADezii
Expert 5K+
P: 8,683
is there a simple way to attach the total number of records in a report to a text box on the report? I tried using the count function in the expression builder, but it returns the number 70 even thought there are only 2 records. I am using access 2000.
Thanks in advance
If the Record Source for your Report is a 'Table' or 'Stored Query', place the following Expression in the Control Source Property for a Text Box placed anywhere on the Report:
Expand|Select|Wrap|Line Numbers
  1. =DCount("*", "<Record Source of Report>")
Feb 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.