See Also

ActiveReport Class  | ActiveReport Members  | Document  | Cancel  | Stop

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Run Method

Starts the report processing.

Overload List

Starts the report processing in blocked mode. 
Starts report execution and optionally keeps any linked viewer control document in sync with the report's document.

Remarks

Once the report is completed, the Document property is set to the report output Document.   You can use the Document to Print, Preview or Export the output.

Example

[C#] 

private void Form1_Load(object sender, System.EventArgs e) 

    ActiveReport1 rpt = new ActiveReport1(); 
    rpt.Run(); 
    viewer1.Document = rpt.Document; 
}

[Visual Basic] 

Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim rpt As New rptMain()
    rpt.Run()
    Viewer1.Document = rpt.Document
End Sub

See Also

ActiveReport Class  | ActiveReport Members  | Document  | Cancel  | Stop

 

 


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