ActiveReports 6 Online Help
BOF Property
Example 

Determines whether the CurrentPosition is at the first node in the NodeList.
Syntax
'Declaration
 
Public ReadOnly Property BOF As Boolean
public 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.
DataDynamics.ActiveReports.DataSources.XMLDataSource xDS = new DataDynamics.ActiveReports.DataSources.XMLDataSource();

    if (xDS.BOF && xDS.EOF)
    {
        return;
    }
Paste into the Detail Format event.
Dim xDS As New DataDynamics.ActiveReports.DataSources.XMLDataSource()
    
    If xDS.BOF & xDS.EOF Then
        Exit Sub
    End If
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

Reference

XMLDataSource Class
XMLDataSource Members

Send Feedback