home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form report1
- Caption = " Time Tracking Report"
- ClientHeight = 5670
- ClientLeft = 4050
- ClientTop = 1560
- ClientWidth = 4455
- Height = 6075
- Icon = REPORT1.FRX:0000
- Left = 3990
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- ScaleHeight = 5670
- ScaleWidth = 4455
- Top = 1215
- Width = 4575
- Begin CommandButton prtbtn
- Caption = "HardCopy"
- Height = 330
- Left = 2520
- TabIndex = 5
- Top = 5220
- Width = 1725
- End
- Begin CommandButton finbtn
- Caption = "Finish"
- Height = 330
- Left = 450
- TabIndex = 4
- Top = 5220
- Width = 1815
- End
- Begin CommandButton forwardbtn
- Caption = "+"
- Height = 825
- Left = 4230
- TabIndex = 8
- Top = 3285
- Width = 195
- End
- Begin CommandButton backbtn
- Caption = "--"
- Height = 825
- Left = 4230
- TabIndex = 7
- Top = 2340
- Width = 195
- End
- Begin PictureBox detail
- AutoRedraw = -1 'True
- BorderStyle = 0 'None
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 3345
- Left = 135
- ScaleHeight = 3345
- ScaleWidth = 4065
- TabIndex = 2
- Top = 1485
- Width = 4065
- End
- Begin PictureBox header
- AutoRedraw = -1 'True
- BorderStyle = 0 'None
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = -1 'True
- Height = 375
- Left = 90
- ScaleHeight = 375
- ScaleWidth = 4380
- TabIndex = 3
- Top = 990
- Width = 4380
- End
- Begin PictureBox Picture1
- BackColor = &H00000000&
- Height = 60
- Left = 0
- ScaleHeight = 30
- ScaleWidth = 4575
- TabIndex = 1
- Top = 765
- Width = 4605
- End
- Begin Label pagenbr
- Caption = " "
- Height = 240
- Left = 1845
- TabIndex = 6
- Top = 4905
- Width = 870
- End
- Begin Label Label1
- Caption = "Time Tracking Report "
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Times New Roman"
- FontSize = 13.5
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 855
- TabIndex = 0
- Top = 225
- Width = 3015
- End
- Sub backbtn_Click ()
- Print_Report 0
- End Sub
- Sub finbtn_Click ()
- Unload report1
- Unload printselect
- End Sub
- Sub Form_Load ()
- If printFlag = 2 Then
- prtfrm.Show
- End If
- pageno = 0
- savtotal = "0"
- Print_header
- rc = PXRecFirst(ttrakTbl)
- PXError
- rc = PXRecGet(ttrakTbl, ttrakRec)
- PXError
- GetField ttrakRec, 1, "A"
- key1(0, 1) = returnfld
- key1(0, 2) = returnfld
- GetField ttrakRec, 2, "N"
- key2(0, 1) = Val(returnfld)
- key2(0, 2) = Val(returnfld)
- Print_Report 1
- screen.mousepointer = 1
- End Sub
- Sub forwardbtn_Click ()
- Print_Report 1
- End Sub
- Sub prtbtn_Click ()
- PrintForm
- End Sub
-