My second time
Now I was able to preview my first FR. it nice n simple. my second question is how-to this part.
In my database I have a column named "Total Cost". I was able to sum this column "Total Cost" in every page using page footer band. my question is how can i have an accumulative summary for column "Total Cost"?
if my first page have summary of column "Total Cost" is 500 and second page 300 and adding the total of first page that is 500 so the summary of second page should be 800. could this be possible?
thank you
In my database I have a column named "Total Cost". I was able to sum this column "Total Cost" in every page using page footer band. my question is how can i have an accumulative summary for column "Total Cost"?
if my first page have summary of column "Total Cost" is 500 and second page 300 and adding the total of first page that is 500 so the summary of second page should be 800. could this be possible?
thank you
Comments
begin
mysum := 0
end
In maserdata Memo OnBefore script write:
begin
mysum := mysum + [Total Cost];
end
In PageFooter Memo write:
[mysum]