See Also

TextBox Class  | TextBox Members  | SummaryFunc  | SummaryRunning  | SummaryType

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

SummaryGroup Property

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

[Visual Basic]
Public Property SummaryGroup As String
[C#]
public 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#] 

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 Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.TextBox1.SummaryFunc = SummaryFunc.Sum
   Me.TextBox1.SummaryGroup = Nothing
   Me.TextBox1.SummaryRunning = SummaryRunning.None
   Me.TextBox1.SummaryType = SummaryType.None
End Sub

See Also

TextBox Class  | TextBox Members  | SummaryFunc  | SummaryRunning  | SummaryType

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.