crystal report summarry field not showing correct data

Hi,
I have put a summary field(sum) on 1 of fields in page footer.
but show the count not the sum.
LVL 7
Maverick_CoolAsked:
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:
Try this idea

Right click the field
Click INSERT --> SUMMARY
Select COUNT as the type of summary

Do you want the count for the page?
In that case you will need a slightly different method
Add a formula to the page header
WhilePrintingRecords;
Global NumberVar PageCount;
PageCount := 0;

In the details
WhilePrintingRecords;
Global NumberVar PageCount;
PageCount := PageCount  + 1;

In the page footer
WhilePrintingRecords;
Global NumberVar PageCount;
PageCount

mlmcc
0
Maverick_CoolAuthor Commented:
I dont need a count, i want sum/total of field say "amount" field.
But its showing the row count the sum of the the "amount" field.
0
Maverick_CoolAuthor Commented:
I dont need a count, i want sum/total of field say "amount" field.
But its showing the row count not the sum of the the "amount" field.
0
mlmccCommented:
Sounds like the amount field is not a numeric type.  What does Crystal show in the field explorer for the type?
If it is string try this
Add a formula to the report
Value({YourField})

Get the summary on the formula

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
.NET Programming

From novice to tech pro — start learning today.