running total fields+formula
How to make report like this
A B C
1000000 0 1000000
1000000 0 2000000
500000 0 2500000
0 1000000 1500000
usually i use crystal report for make this report.
Column A, B dataset
Column C result
A B C
1000000 0 1000000
1000000 0 2000000
500000 0 2500000
0 1000000 1500000
usually i use crystal report for make this report.
Column A, B dataset
Column C result
Comments
ie in memo3
[<data."fieldname> + <data."fieldname>]
it adds just fine, but then when it goes to the next line it dosen't pass the value to the next line...
himen did you get any results??
declare your own variable of correct type at start of on reprt code page
mytot :extended;
initialize to 0, either in begin end block at bottom of page or in obp event of a header band.
in obp event of data band write code
mytot := mytot + (<data."fieldname> operator <data."fieldname>);
in memo3 use [mytot]