home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form status
- Caption = "Report Status"
- ClientHeight = 5220
- ClientLeft = 2550
- ClientTop = 2235
- ClientWidth = 4560
- Height = 5625
- Left = 2490
- LinkTopic = "Status"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 5220
- ScaleWidth = 4560
- Top = 1890
- Width = 4680
- Begin VB.CommandButton CmdOK
- Caption = "&OK"
- Height = 495
- Left = 1320
- TabIndex = 1
- Top = 4560
- Width = 1935
- End
- Begin VB.Frame Frame1
- Height = 4215
- Left = 240
- TabIndex = 0
- Top = 120
- Width = 4095
- Begin VB.Label LblRptStatus
- Alignment = 1 'Right Justify
- Height = 255
- Left = 2535
- TabIndex = 16
- Top = 3360
- Width = 1005
- End
- Begin VB.Label LblStartPage
- Alignment = 1 'Right Justify
- Height = 255
- Left = 2535
- TabIndex = 15
- Top = 2880
- Width = 1005
- End
- Begin VB.Label LblLatestPage
- Alignment = 1 'Right Justify
- Height = 255
- Left = 2535
- TabIndex = 14
- Top = 2400
- Width = 1005
- End
- Begin VB.Label LblDisplayPage
- Alignment = 1 'Right Justify
- Height = 255
- Left = 2535
- TabIndex = 13
- Top = 1920
- Width = 1005
- End
- Begin VB.Label LblPrinted
- Alignment = 1 'Right Justify
- Height = 255
- Left = 2535
- TabIndex = 12
- Top = 1440
- Width = 1005
- End
- Begin VB.Label LblSelected
- Alignment = 1 'Right Justify
- Height = 255
- Left = 2535
- TabIndex = 11
- Top = 960
- Width = 1005
- End
- Begin VB.Label LblRead
- Alignment = 1 'Right Justify
- Height = 255
- Left = 2535
- TabIndex = 10
- Top = 480
- Width = 1005
- End
- Begin VB.Label LblStatus
- Alignment = 2 'Center
- Height = 495
- Left = 120
- TabIndex = 9
- Top = 3600
- Width = 3855
- End
- Begin VB.Label Label7
- Caption = "Report Status:"
- Height = 255
- Left = 240
- TabIndex = 8
- Top = 3360
- Width = 1455
- End
- Begin VB.Label Label6
- Caption = "Report Start Page:"
- Height = 255
- Left = 240
- TabIndex = 7
- Top = 2880
- Width = 1455
- End
- Begin VB.Label Label5
- Caption = "Report Latest Page:"
- Height = 255
- Left = 240
- TabIndex = 6
- Top = 2400
- Width = 1695
- End
- Begin VB.Label Label4
- Caption = "Report Display Page:"
- Height = 255
- Left = 240
- TabIndex = 5
- Top = 1920
- Width = 1695
- End
- Begin VB.Label Label3
- Caption = "Records Printed:"
- Height = 255
- Left = 240
- TabIndex = 4
- Top = 1440
- Width = 1335
- End
- Begin VB.Label Label2
- Caption = "Records Selected:"
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 960
- Width = 1575
- End
- Begin VB.Label Label1
- Caption = "Records Read:"
- Height = 255
- Left = 240
- TabIndex = 2
- Top = 480
- Width = 1575
- End
- End
- Attribute VB_Name = "status"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub CmdOK_Click()
- Unload Me
- End Sub
- Private Sub Form_Load()
- Dim RptStatus As Integer
- Center Me
- LblRead.Caption = Demo.CrystalReport1.RecordsRead
- LblSelected.Caption = Demo.CrystalReport1.RecordsSelected
- LblPrinted.Caption = Demo.CrystalReport1.RecordsPrinted
- LblDisplayPage.Caption = Demo.CrystalReport1.ReportDisplayPage
- LblLatestPage.Caption = Demo.CrystalReport1.ReportLatestPage
- LblStartPage.Caption = Demo.CrystalReport1.ReportStartPage
- LblRptStatus.Caption = Demo.CrystalReport1.status
- RptStatus = Demo.CrystalReport1.status
- Select Case RptStatus
- Case 0
- LblStatus.Caption = "The report has not been printed or has not finished printing."
- Case 3
- LblStatus.Caption = "The report has finished printing."
- Case 5
- LblStatus.Caption = " the report has been cancelled by the user."
- End Select
- End Sub
- Private Sub Label13_Click()
- End Sub
-