ActiveReports Developer 7
CountNullValues Property
See Also  Example
GrapeCity.ActiveReports.v7 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

See Also