ActiveReports 8
Subtotal Class
Members  See Also 
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace : Subtotal Class

Glossary Item Box

The Subtotals element defines a subtotal column or row to include in the Matrix.

Object Model

Subtotal Class

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class Subtotal 
   Inherits ReportComponentContainer
   Implements IRdlContainerIReportComponentIReportComponentContainer 

Remarks

In the subtotal column or row, the full set of data for the entire group is aggregated in the matrix cell.

If a matrix cell contains an aggregate that uses an explicit grouping scope contained within the scope of the aggregate, that scope is automatically adjusted to equal the current scope. For example, if a textbox in a matrix cell contains the expression =Sum(Fields!Sales.Value/Sum(Fields!Sales.Value,"State") and this subtotal is applied to the Country grouping scope, the expression evaluates to =Sum(Fields!Sales.Value)/Sum(Fields!Sales.Value,"Country"), since the State grouping scope is contained within the country grouping scope.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         GrapeCity.ActiveReports.PageReportModel.ReportComponent
            GrapeCity.ActiveReports.PageReportModel.ReportComponentContainer
               GrapeCity.ActiveReports.PageReportModel.Subtotal

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also