Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends

i have a Report viewer , i use a Table in Report ,
i want Calculate sum of Table item and Place it in Footer ...
i Use This Ex : Sum(Fields!F1.value)

This is not True ... Because i Filter The Table and i want calculate the values of Filtered Items (Not all) , but this Ex Calculate all ....

please Tell me how can i Calculate the Sum of Table Values?

Thank You
Posted

Its very simple.

Open Crystal Report - then you will find "Running total fields" - add new - choose the field which you want to calculate - select summary Type.

That's all.

mark as answered if you find your solution.
Happy coding.
 
Share this answer
 
v2
Comments
synctor 15-Feb-12 6:57am    
Report viewer !!!
this is the problem am facing exactly , can you explain the solution more deeply as am using the reportviewer not the crystal report ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900