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?
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
0
NewFocusConsultAuthor Commented:
Sorry the Summary Amount is to go in the Page Header not the group header
0
mlmccCommented:
Same problem if it is a running total.

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

mlmcc
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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
0
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.
0
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
0

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.