Status (ActiveReport)

Description

Returns if the report is running, idle, completed or cancelled.

Data Type

ReportStatus

Settings

Value Mnemonic Description
0 ddStatIdle Indicates the report is idle
1 ddStatRunning Indicates the report is running
2 ddStatCompleted Indicates the report is completed
3 ddStatCancelled Indicates the report was cancelled

Availability

Design time N/A
Run time Read-Only

Example

Private Sub Timer1_Timer() Select Case ActiveReport1.Status Case Is = 1 frmMain.Caption = "Running..." Case Is = 2 frmMain.Caption = "Completed" Timer1.Enabled = False End Select End Sub