See Also

ActiveReport Class  | ActiveReport Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

State Property

Returns the current state of the report.

[Visual Basic]
Public ReadOnly Property State As ActiveReport.ReportState
[C#]
public ActiveReport.ReportState State {get;}

Return Type

Current ReportState.

Remarks

The possible values for this property are Running, Idle, or Completed.

Example

[C#] 

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

    rptDataDynamics rpt = new rptDataDynamics(); 
    this.statusBar1.Text = "Report is " + rpt.State.ToString(); 
    rpt.Run(); 
    this.statusBar1.Text = "Report is " + rpt.State.ToString(); 
    this.arv.Document = rpt.Document; 
}

[Visual Basic] 

Private Sub Viewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Viewer1.Load
    Dim rpt As New rptDD
    Me.StatusBar1.Text = "Report is " & rpt.State.ToString
    rpt.Run()
    Me.StatusBar1.Text = "Report is " & rpt.State.ToString
    Me.Viewer1.Document = rpt.Document
End Sub

See Also

ActiveReport Class  | ActiveReport Members

 

 


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