ActiveReports 8
NoData Event
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : NoData Event

Glossary Item Box

Raised if the report's data source does not return any records and there is no data to be processed.


Visual Basic (Declaration) 
Public Event NoData As System.EventHandler
public event System.EventHandler NoData


This event is used either to cancel the report or to print a page with a message informing the user that the report did not return any records to print.


C#Copy Code
private void SectionReport1_NoData(object sender, System.EventArgs eArgs)
Visual BasicCopy Code
Private Sub SectionReport1_NoData(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.NoData
End Sub


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