Click here to Skip to main content
15,921,793 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my crystal report i have to show the Sum of five columns so i am using formula field I want where clause how to achieve that because i have many records in db i want to filter based in country for example see below

to show a column as Total(containing four columns such as SUM({QuestionTarget.QuestionTarget})+SUM({QuestionTarget.QT_FormMen})+SUM({QuestionTarget.QT_ForWomen})+SUM({QuestionTarget.QT_ForGirl})+SUM({QuestionTarget.QT_ForBoy}))

My table has these four columns along with another column name country so I want to sum of these four columns Based on country ID how to write the formula
Posted
Updated 3-Sep-15 2:56am
v2

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