ActiveReports Developer 7
BOF Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.Data Namespace > XMLDataSource Class : BOF Property

Glossary Item Box

Determines whether the CurrentPosition is at the first node in the NodeList.

Syntax

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

Property Value

Boolean. True if the CurrentPostion is at the first node in the NodeList; otherwise, False.

Example

Paste into the Detail Format event.
C#Copy Code
GrapeCity.ActiveReports.Data.XMLDataSource xDS = new GrapeCity.ActiveReports.Data.XMLDataSource();

    if (xDS.BOF && xDS.EOF)
    {
        return;
    }
Paste into the Detail Format event.
Visual BasicCopy Code
Dim xDS As New GrapeCity.ActiveReports.Data.XMLDataSource()
    
    If xDS.BOF & xDS.EOF Then
        Exit Sub
    End If

See Also