Hello
I build a report similar to this http://forum.stimulsoft.com/Default.aspx?g=posts&t=2102 and this http://forum.stimulsoft.com/Default.aspx?g=posts&t=2204.
The report build up like this:
PageHeaderBand
DataBand (Master)
HeaderBand
DataBandDetail (Child)
FooterBand
PageFooterBand
In the DataBandDetail is a field that will sum with the sumrunning, now I will reset this field to zero when the next
entry in the DataBand process.
I have also try to use a variable and the rendering event that is descriped in the documentation but with this approach
I get a result like:
Colum Variable
5 0
2 5
3 7
What can I try else to get the desired behavior.
Entry1
5 5
2 7
3 10
Entry2
4 4
1 5
Thanks
Ralf
Reset of a SumRunning Field
Reset of a SumRunning Field
Hello,
You can use the following code in events "After Print" DataBand(Master) component:
Please see the sample report in attachment.
In the next prerelease build the Reset method for nulling the SumRunning will be added.
Thank you.
You can use the following code in events "After Print" DataBand(Master) component:
Code: Select all
Text3_Sum.RunningTotal = false;
Text3_Sum.Init();
In the next prerelease build the Reset method for nulling the SumRunning will be added.
Thank you.
- Attachments
-
- 555.Sample Report.mrt
- (12.9 KiB) Downloaded 236 times
Reset of a SumRunning Field
Hello
Thank you very much, that was the solution.
Ralf
Thank you very much, that was the solution.
Ralf
Reset of a SumRunning Field
Hello,
We are always glad to help you!
We are always glad to help you!