Click here to Skip to main content
15,921,837 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i ask this problem 5 times but never take a answer ! Please if anybody can help me answer here !

i have an Table in my MICROSOFT ReportViewer(NOT Crystal Report) . This Table Filtered By some items (such as Year And month in salary System) [my mean when i Enter Parameters Year 2012 and Month June , i See just Salary of Personnel in That Date ]
Now i Want calculate Sum of all Personnels Salary (in That Date) and Write it in Footer of Table in That Date .

i Use SUM Function . but its not Worked True ... SUM Function Calculate all Salary Values in all Dates (Not Filtered Item Just)

Please And Please Help me How can i do This ?!
very Very Thank you and sorry for Weak English .
Posted
Comments
Maciej Los 27-Feb-12 9:25am    
How can we help you, if we don't know:
1) the source of table in the ReportViewer (MS Access database, xml, MS SQL database?)
2) the method of filtering
3) we don't see any piece of code

1 solution

Despite that you do not answer my question, i'll try to help you...

First of all, take a look at ReportViewer[^] control and read carefully all sections.

Probably, the answer you'll find at: Common Expressions for ReportViewer[^] and/or at: Built-in Functions for ReportViewer Reports[^]

Instead of SUM, use COUNT function ;)

I hope it will be helpful.
 
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