We help IT Professionals succeed at work.
Get Started

Count number of records on a report then totaling number of records

csall
csall asked
on
286 Views
Last Modified: 2013-11-28
I have a report that I am creating that I want to count the number of records (permits issued to a construction company), then total them at the end of each section.  It should look like this:

Company A
    Counter 1     -    Road Permit road A
    Counter 2     -    Road Permit road C
     Counter 3     -    Road Permit road D
         Total # road permits = 3

I have the counter working by doing the following:
  * Created a Text box called "Counter" to count the records.  I set the text box as follows:
       - Set Control Source = 1
       - Set Running sum "Over Group"

Now in the detail footer I put in another text box called "Total"  to capture the total records.  I set the following on the text box:
       - Set Control Source = Sum([Counter])
       - Set Running sum "Over Group"

The problem is when I open the report I get a "Enter Perimeter Box" that asks me to define "Counter"  If I put in the number "1", everthing works fine.  How do I get rid of the "Enter Perimeter Box" when I open the report?

(Note: if I remove the "Total"  text box, I do not get the "Enter Perimeter Box" so it has to do something with the setup of the "Total" text box.)
Comment
Watch Question
MIS Liason
CERTIFIED EXPERT
Most Valuable Expert 2012
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE