Shared Variable NumberVar not totaling in Footer

I have the following setup in a Crystal Report v.10:

Group Header --  Feld Name: VacTotalH
shared numberVar VacTotal :=0;

Detail Section --  Field Name: VacAccrualManual
shared numberVar VacTotal;
VacTotal:= {@VacAccrualMonthly};

Group Footer -- Field Name: VacAccrualTotal
shared numberVar VacTotal;

The Group Header is fine.  The details section works fine.  The group footer is not totaling the values in the Details section.  I get the following:

Group Header field = 0

Group Details Record instance 1 = 10.17
Group Details Record instance 2 = 12.13

Group Footer field = 12.13  (This should be 22.30 - a total of 10.17 and 12.13)

HELP!!!  The need for this is extremely urgent and I have set it to 500 points.  I'm sure it will be pretty easy, but I need it bad!!
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.

Your VacAccrualManual formula should be this:

Detail Section --  Field Name: VacAccrualManual
shared numberVar VacTotal;
VacTotal:= VacTotal+{@VacAccrualMonthly};

You were resetting the formula each time rather than accumulating it.

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
Looks like the answer.

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.