ActiveReports3 Request technical support
Run() Method
See Also  Example


Starts the report processing in blocked mode. 

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Run() 
Visual Basic (Usage)Copy Code
Dim instance As ActiveReport3
 
instance.Run()
C# 
public void Run()

Example

C#Copy Code
private void Form1_Load(object sender, System.EventArgs e)
{
   ActiveReport1 rpt =
new ActiveReport1();
   rpt.Run();
   viewer1.Document = rpt.Document;
}
Visual BasicCopy Code
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

Remarks

This method does not synchronize a viewer control's linked document until the report has finished processing.

See Also