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

can u help me.
how to calculate sum of columns and rows value in crystal reports using asp.net.

means like blow:
id name marks
01 xxx 65
02 yyy 85
total: 150

pls give me solution to it.
thank u.
Posted
Updated 14-May-13 19:18pm
v3
Comments
[no name] 14-May-13 4:44am    
I have tried like.. insert > summary > calculate this summary only have min,max,count...etc.
not having sum or avg.
how can i get it.

 
Share this answer
 
 
Share this answer
 
Comments
[no name] 14-May-13 5:26am    
thank u very much.
[no name] 14-May-13 5:53am    
If u dnot mine can u tel me. in row wise also pls
Hi...

My table is having like this.

Orderid Productname Productcost Quantity Totalprice
01 xxx 499 2 998
02 yyy 749 3 2247
03 zzz 999 1 999

Sub total: 4244

in this, 1st find totalprice mean (productcost*quantity) from formula fields > new > formulaname > productcost*quantity. this formulaname used in section3(detailes) instead of price(for columns wise).
then for subtotal, insert > summary > select ur formulaname, set calculate summary as sum > ok(for row wise)

in this way am find the solution to it.
thank u.
 
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