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

Glossary Item Box

Gets or sets the name of the group header section that is used to reset the summary value when calculating subtotals.

Syntax

Visual Basic (Declaration) 
Public Property SummaryGroup As System.String
C# 
public System.string SummaryGroup {get; set;}

Remarks

For example, setting a sum of Price for an Order group header will reset the sum to zero for each order group.   The property is only used when SummaryType is set to SummaryType.SubTotal

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    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.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~SummaryRunning
ActiveReports6~GrapeCity.ActiveReports.TextBox~SummaryType