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

Glossary Item Box

Raised after the report finishes processing all pages.


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


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.


C#Copy Code
private void rptMain_ReportEnd(object sender, System.EventArgs eArgs)
    rptBookmarks rpt = new rptBookmarks();
    rpt.pBM = this.Document.Bookmarks;
    this.Document.Pages.InsertRange(this.Document.Pages.Count, rpt.Document.Pages);
Visual BasicCopy Code
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
        Me.Document.Pages.InsertRange(Me.Document.Pages.Count, rpt.Document.Pages)
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