See Also

ActiveReport Class  | ActiveReport Members  | Overload List

Language

Visual Basic

C#

Show All

syncDocument
Set to True to synchronize a linked viewer control document with the report processing.
See Also Languages ActiveReports Send feedback to Data Dynamics

Run(Boolean) Method

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

[Visual Basic]
Overloads Public Sub Run( _    ByVal syncDocument As Boolean _ )
[C#]
public void Run(    bool syncDocument );

Parameters

syncDocument
Set to True to synchronize a linked viewer control document with the report processing.

Remarks

If the report document is linked to a viewer control the report will synchronize the viewer display and load pages as soon as they have completed rendering.

Example

[C#] 

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

    ActiveReport1 rpt = new ActiveReport1(); 
    rpt.Run(True); 
    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(True)
    Viewer1.Document = rpt.Document
End Sub

See Also

ActiveReport Class  | ActiveReport Members  | Overload List

 

 


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