ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / TextBox Class / SummaryRunning Property
Example

In This Topic
    SummaryRunning Property (TextBox)
    In This Topic
    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
    'Declaration
     
    Public Property SummaryRunning As SummaryRunning
    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
    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;
    }
    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