ActiveReports 9
NoData Event
Example 

Raised if the report's data source does not return any records and there is no data to be processed.
Syntax
'Declaration
 
Public Event NoData As System.EventHandler
public event System.EventHandler NoData
Remarks
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.
Example
private void SectionReport1_NoData(object sender, System.EventArgs eArgs)
{
    this.Cancel();
}
Private Sub SectionReport1_NoData(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.NoData
    Me.Cancel()
End Sub
See Also

Reference

SectionReport Class
SectionReport Members

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum