Cancels the report's processing. Any rendered pages will be cleared from the report's Document object.
[Visual Basic]
Public Sub Cancel()
[C#]
public void Cancel();
You can call this method based on a user's request or in a report event such as ReportStart to prevent printing a blank report if their data source did not return any records.
[C#]
private void rptDataDynamics_ReportStart(object sender, System.EventArgs eArgs) |
[Visual Basic]
Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
ActiveReport Class | ActiveReport Members | Stop
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.