Totals in Crystal Reports

Hello experts -

I am trying to insert a grand total that will total the formulas already inserted for each group.  For example, I have the following formulas in the corresponding sections:

Header

WhilePrintingRecords;
Global CurrencyVar TotalGift;
TotalGift:=0;

Detail

WhilePrintingRecords;
Global CurrencyVar TotalGift;
if (DistinctCount ({gifts_full.giftkey}, {names_VIEW_preferred.namesmashd})>1 and
{gifts_full.giftkey}=previous({gifts_full.giftkey}))
then 0
else
TotalGift := TotalGift + {gifts_full.giftjntamt}+0;

Footer

WhilePrintingRecords;
Global CurrencyVar TotalGift;
TotalGift

These totals are entered per constituent and I would like the grand total entered at the bottom of the report.  Is that possible?  I have attached the actual report as well.

Thank you.
Lisa
New-Major-Commitments.rpt
lcallah93Asked:
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.

Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
Just at a GrandTotalGift variable, accumulate it but DON'T reset it in the group headers.
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
lcallah93Author Commented:
THANK YOU!  I knew it was something I was overlooking.
0
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.