Sum of numbers

Hi All,

I’d like to know how to sum all numbers in a particular field in a form. Can someone pls explain me.

Regards,

Naveen Raaj.

What does that mean? Please elaborate…

Hi Kranthi,

For example

id itemname amount

1 PS/4 40000

2 xbox360 30000

i want to know how add the total amount of amount field

like this in form

total amount=70000

write a display method which calculates the sum and add it to the form

Mr.Kranthi can you please elaborate or explain with an example.

you can do like this this.field3= this.field1+this.field2;

you can also use select sum of particular field in the table and return the sum value in display method