See Also

TextBox Class  | TextBox Members  | SummaryFunc  | SummaryGroup  | SummaryRunning

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

SummaryType Property

Gets or sets a value that determines the summary type to be performed.

[Visual Basic]
Public Property SummaryType As SummaryType
[C#]
public SummaryType SummaryType {get; set;}

Return Type

A SummaryType enumeration value that determines the type of summary to be performed.  Default is SummaryType.None.

Remarks

ActiveReports can summarize the field as:

If the summarized field is placed ahead of its summary level, (for example, placing a page total in the page header or a report grand total in the report header), the containing section and the following sections will not be printed until the summary value is resolved (calculated).  When using the summary functions with a field, the CanGrow and CanShrink properties are disabled for the field.

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  | SummaryGroup  | SummaryRunning

 

 


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