Returns if the report is running, idle, completed or cancelled.
ReportStatus
| 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 |
| Design time | N/A |
|---|---|
| Run time | Read-Only |
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