ActiveReports 8
CountNullValues Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > TextBox Class : CountNullValues Property

Glossary Item Box

Determines whether DBNull values should be included as zeroes in summary fields.

Syntax

Visual Basic (Declaration) 
Public Property CountNullValues As System.Boolean
C# 
public System.bool CountNullValues {get; set;}

Property Value

Boolean. The default value is False.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs) 
{ 
    this.textBox1.ClassName = "Normal"; 
    this.textBox1.OutputFormat = null; 
    this.textBox1.CountNullValues = true;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.TextBox1.ClassName = "Normal"
   Me.TextBox1.OutputFormat = Nothing
   TextBox1.CountNullValues = True;
End Sub

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