See Also

ActiveReport Class  | ActiveReport Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

ReportEnd Event

Raised after the report finishes processing all pages.

[Visual Basic]
Public Event ReportEnd() As EventHandler
[C#]
public event EventHandler ReportEnd();

Remarks

This event can be used to close or free any objects that you were using while running a report in unbound mode, or to display an information message to the end user.

Example

[C#] 

private void rptMain_ReportEnd(object sender, System.EventArgs eArgs) 

    rptBookmarks rpt = new rptBookmarks(); 
    rpt.pBM = this.Document.Bookmarks; 
    rpt.Run(); 
    this.Document.Pages.InsertRange(this.Document.Pages.Count, rpt.Document.Pages); 
}

[Visual Basic] 

Private Sub rptMain_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportEnd
        Dim rpt As New rptBookmarks()
        rpt.pBM = Me.Document.Bookmarks
        rpt.Run()
        Me.Document.Pages.InsertRange(Me.Document.Pages.Count, rpt.Document.Pages)
End Sub

See Also

ActiveReport Class  | ActiveReport Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.