ActiveReports Developer 7
SummaryRunning Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > TextBox Class : SummaryRunning Property

Glossary Item Box

Gets or sets a value that determines whether the data field summary value will be accumulated or reset for each level (detail, group or page).

Syntax

Visual Basic (Declaration) 
Public Property SummaryRunning As SummaryRunning
C# 
public SummaryRunning SummaryRunning {get; set;}

Property Value

SummaryRunning enumeration that determines the summarization behavior.  Default is SummaryRunning.None.

Remarks

Setting this property to Group or All will make ActiveReports print a running summary of the field at the group or report level.

When used with Groups this property should only be set when SummaryType is GrandTotal or PageTotal, otherwise it should be set to None.

Example

C#Copy Code
Private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.TextBox1.SummaryFunc = SummaryFunc.Sum;
    this.TextBox1.SummaryGroup = null;
    this.TextBox1.SummaryRunning = SummaryRunning.None;
    this.TextBox1.SummaryType = SummaryType.None;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.TextBox1.SummaryFunc = SummaryFunc.Sum
   Me.TextBox1.SummaryGroup = Nothing
   Me.TextBox1.SummaryRunning = SummaryRunning.None
   Me.TextBox1.SummaryType = SummaryType.None
End Sub

See Also

Reference

TextBox Class
TextBox Members
ActiveReports6~GrapeCity.ActiveReports.TextBox~SummaryFunc
ActiveReports6~GrapeCity.ActiveReports.TextBox~SummaryGroup
ActiveReports6~GrapeCity.ActiveReports.TextBox~SummaryType