Running Totals in Group Header

I have a debtors statement that is grouped by a field called STMTGROUP and totals transactions within that group fine. I now want to have that total appear in a Summary Grid in the Group Header but don't know how to.
NewFocusConsultAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
What do you mean by a summary grid?

If you are using a running total to calculate it, it can't be done since the running total is calculated as the report is printed so the total isn't available until the group is complete.

Can you use a summary function on the field?
RIght click it
Click INSERT --> SUMMARY
Set it for SUM
Put it in the GROUP FOOTER
Click OK

Drag it to the group header

mlmcc
NewFocusConsultAuthor Commented:
Sorry the Summary Amount is to go in the Page Header not the group header
mlmccCommented:
Same problem if it is a running total.

DO you want summary of what is on the page or overall?

mlmcc
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

NewFocusConsultAuthor Commented:
I have attached a pdf copy of the Crystal Report.  You will see 2 groups the running total in each group will be a summary line in the Header section. There is a box on the right side.
debtors-statement.pdf
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
Looks like you can use simple (rather than "running") totals.  So simply insert a CrossTab.
mlmccCommented:
If you are referring to the box under the tenant statement then you should be able to generate that with summary functions

To get the Rent Account Balance Credit
Add a formula
Name - Rent and Payment
If {Description Field} = 'CPAY Receipt'  then
    {Receipts Field}
Else if {Description Field} = 'Rent Charge' then
     {Charges Field}
Else
    0

Open in new window

Create another formula (assumes there is a group on contact id.  If not then replace contact id field with the group field for the tenant).
Name - Sum Rent and Payment
Sum({@Rent and Payment},{Contact ID Field})

Open in new window


You can create similar formulas for things like Non-Rent, Water, Other

The overall total is the sum of the individual totals or just the sum of the charges and payments

mlmcc

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.