?? in_query.frm
字號:
VERSION 5.00
Begin VB.Form in_query
BorderStyle = 1 'Fixed Single
Caption = "系統集成項目查詢結果"
ClientHeight = 7305
ClientLeft = 45
ClientTop = 375
ClientWidth = 7395
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "in_query.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 7305
ScaleWidth = 7395
StartUpPosition = 1 'CenterOwner
Visible = 0 'False
Begin VB.TextBox Text13
Alignment = 2 'Center
ForeColor = &H00FF0000&
Height = 420
Left = 5280
Locked = -1 'True
TabIndex = 29
Top = 720
Width = 1815
End
Begin VB.TextBox Text12
Alignment = 2 'Center
ForeColor = &H00FF0000&
Height = 420
Left = 1440
Locked = -1 'True
TabIndex = 28
Top = 720
Width = 2175
End
Begin VB.TextBox Text11
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 420
Left = 1440
Locked = -1 'True
TabIndex = 27
Top = 4920
Width = 5655
End
Begin VB.TextBox Text10
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 420
Left = 1440
Locked = -1 'True
TabIndex = 24
Top = 4320
Width = 5655
End
Begin VB.TextBox Text9
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 465
Left = 1440
Locked = -1 'True
TabIndex = 22
Top = 3720
Width = 5655
End
Begin VB.TextBox Text8
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 420
Left = 2160
Locked = -1 'True
TabIndex = 20
Top = 3120
Width = 4935
End
Begin VB.TextBox Text7
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 420
Left = 1440
Locked = -1 'True
TabIndex = 19
Top = 2520
Width = 5655
End
Begin VB.TextBox Text6
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 420
Left = 1440
Locked = -1 'True
TabIndex = 18
Top = 1920
Width = 5655
End
Begin VB.TextBox Text5
BackColor = &H80000009&
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 975
Left = 1440
Locked = -1 'True
MaxLength = 50
MultiLine = -1 'True
TabIndex = 1
Top = 5640
Width = 5655
End
Begin VB.TextBox Text4
BackColor = &H80000009&
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 420
Left = 1440
Locked = -1 'True
TabIndex = 0
Top = 1320
Width = 5655
End
Begin VB.CommandButton Command2
Cancel = -1 'True
Caption = "關 閉(&C)"
Height = 375
Left = 5520
TabIndex = 3
Top = 6840
Width = 1455
End
Begin VB.TextBox Text3
Alignment = 2 'Center
BackColor = &H80000009&
ForeColor = &H00FF0000&
Height = 420
Left = 3600
Locked = -1 'True
MaxLength = 2
TabIndex = 6
Top = 120
Width = 495
End
Begin VB.TextBox Text2
Alignment = 2 'Center
BackColor = &H00FFFFFF&
ForeColor = &H00FF0000&
Height = 420
Left = 2640
Locked = -1 'True
MaxLength = 2
TabIndex = 5
Top = 120
Width = 495
End
Begin VB.TextBox Text1
Alignment = 2 'Center
BackColor = &H80000009&
ForeColor = &H00FF0000&
Height = 420
Left = 1440
Locked = -1 'True
MaxLength = 4
TabIndex = 4
Top = 120
Width = 735
End
Begin VB.CommandButton Command1
Caption = "打 印(&P)"
Height = 375
Left = 1560
TabIndex = 2
Top = 6840
Width = 1455
End
Begin VB.Label Label14
Caption = "設計方案"
Height = 255
Left = 240
TabIndex = 26
Top = 5040
Width = 975
End
Begin VB.Label Labeltime
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 375
Left = 5040
TabIndex = 25
ToolTipText = "系統當前日期"
Top = 120
Width = 1935
End
Begin VB.Label Label13
Caption = "合同文件"
Height = 255
Left = 240
TabIndex = 23
Top = 4440
Width = 975
End
Begin VB.Label Label11
Caption = "合同編號"
Height = 255
Left = 240
TabIndex = 21
Top = 3840
Width = 975
End
Begin VB.Label Label12
AutoSize = -1 'True
Caption = "備 注"
Height = 300
Left = 240
TabIndex = 17
Top = 5760
Width = 960
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "日"
Height = 300
Left = 4200
TabIndex = 16
Top = 240
Width = 240
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "月"
Height = 300
Left = 3240
TabIndex = 15
Top = 240
Width = 240
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "年"
Height = 300
Left = 2280
TabIndex = 14
Top = 240
Width = 240
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "項目類別"
Height = 300
Left = 240
TabIndex = 13
Top = 840
Width = 960
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "項目經理"
Height = 300
Left = 4080
TabIndex = 12
Top = 840
Width = 960
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "甲方項目負責人"
Height = 300
Left = 240
TabIndex = 11
Top = 3240
Width = 1680
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "甲方名稱"
Height = 300
Left = 240
TabIndex = 10
Top = 2640
Width = 960
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "項目位置"
Height = 300
Left = 240
TabIndex = 9
Top = 2040
Width = 960
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "項目名稱"
Height = 300
Left = 240
TabIndex = 8
Top = 1440
Width = 960
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "登錄日期"
Height = 300
Left = 240
TabIndex = 7
Top = 240
Width = 960
End
End
Attribute VB_Name = "in_query"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form2.Show
DoEvents
Printer.FontName = "MS Sans Serif"
Printer.FontSize = 12
Printer.Print
Printer.Print
Printer.Print
Printer.Print
Printer.Print
Printer.Print , , "系統集成項目記錄"
Printer.Print "------------------------------------------------------------------------------"
Printer.Print "登錄日期:"; Text1.Text; "年"; Text2.Text; "月"; Text3.Text; "日"
Printer.Print "項目類別:"; Text12.Text
Printer.Print "項目名稱:"; Text4.Text
Printer.Print "工程位置:"; Text6.Text
Printer.Print "項目經理:"; Text13.Text
Printer.Print "甲方名稱:"; Text7.Text
Printer.Print "甲方負責人:"; Text8.Text
Printer.Print "合同編號:"; Text9.Text
Printer.Print "合同文件存放位置:"; Text10.Text
Printer.Print "設計方案存放位置:"; Text11.Text
Printer.Print "備注:"; Text
Printer.Print "------------------------------------------------------------------------------"
Printer.EndDoc
Form2.Visible = False
MsgBox "打印完成!"
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Labeltime.Caption = CStr(Date)
End Sub
Private Sub Form_Unload(Cancel As Integer)
qry_in.Enabled = True
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -