?? frmmaterin1.frm
字號:
VERSION 5.00
Begin VB.Form frmMaterIn1
BorderStyle = 3 'Fixed Dialog
Caption = "物資信息"
ClientHeight = 5004
ClientLeft = 48
ClientTop = 336
ClientWidth = 8052
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5004
ScaleWidth = 8052
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Begin VB.TextBox txtBase
Height = 270
Left = 3840
TabIndex = 33
TabStop = 0 'False
Top = 4680
Visible = 0 'False
Width = 975
End
Begin VB.TextBox txtValue
Height = 270
Left = 2880
TabIndex = 32
TabStop = 0 'False
Top = 4560
Visible = 0 'False
Width = 975
End
Begin VB.TextBox txtAccount
Height = 270
Left = 1560
TabIndex = 31
TabStop = 0 'False
Top = 4680
Visible = 0 'False
Width = 975
End
Begin VB.TextBox txtNo
Height = 270
Left = 480
TabIndex = 30
TabStop = 0 'False
Top = 4560
Visible = 0 'False
Width = 735
End
Begin VB.Frame Frame3
Caption = "備注信息"
Height = 1215
Left = 240
TabIndex = 28
Top = 3240
Width = 7575
Begin VB.TextBox txtItem
Height = 855
Index = 7
Left = 240
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 12
Top = 240
Width = 7095
End
End
Begin VB.Frame Frame2
Caption = "入庫信息"
Height = 2895
Left = 4080
TabIndex = 21
Top = 240
Width = 3735
Begin VB.TextBox txtItem
Height = 270
Index = 0
Left = 1320
MaxLength = 5
TabIndex = 5
Top = 360
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 1
Left = 1320
MaxLength = 8
TabIndex = 6
Top = 720
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 2
Left = 1320
MaxLength = 10
TabIndex = 7
Top = 1080
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 6
Left = 1320
MaxLength = 10
TabIndex = 11
Top = 2520
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 3
Left = 1320
MaxLength = 10
TabIndex = 8
Top = 1440
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 4
Left = 1320
MaxLength = 10
TabIndex = 9
Top = 1800
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 5
Left = 1320
MaxLength = 10
TabIndex = 10
Top = 2160
Width = 2175
End
Begin VB.Label Label2
Caption = "入庫時間:"
Height = 255
Index = 11
Left = 240
TabIndex = 29
Top = 1440
Width = 975
End
Begin VB.Label Label2
Caption = "倉 庫:"
Height = 255
Index = 9
Left = 240
TabIndex = 27
Top = 2520
Width = 975
End
Begin VB.Label Label2
Caption = "保 管 人:"
Height = 255
Index = 8
Left = 240
TabIndex = 26
Top = 2160
Width = 975
End
Begin VB.Label Label2
Caption = "經(jīng) 辦 人:"
Height = 255
Index = 7
Left = 240
TabIndex = 25
Top = 1800
Width = 975
End
Begin VB.Label Label2
Caption = "金 額:"
Height = 255
Index = 6
Left = 240
TabIndex = 24
Top = 1080
Width = 975
End
Begin VB.Label Label2
Caption = "單 價:"
Height = 255
Index = 5
Left = 240
TabIndex = 23
Top = 720
Width = 975
End
Begin VB.Label Label2
Caption = "數(shù) 量:"
Height = 255
Index = 4
Left = 240
TabIndex = 22
Top = 360
Width = 975
End
End
Begin VB.Frame Frame1
Caption = "物資信息"
Height = 2895
Left = 240
TabIndex = 15
Top = 240
Width = 3735
Begin VB.ComboBox cboItem
Height = 300
Index = 4
Left = 1320
Style = 2 'Dropdown List
TabIndex = 4
Top = 2400
Width = 2175
End
Begin VB.ComboBox cboItem
Height = 300
Index = 3
Left = 1320
Style = 2 'Dropdown List
TabIndex = 3
Top = 1920
Width = 2175
End
Begin VB.ComboBox cboItem
Height = 300
Index = 2
Left = 1320
Style = 2 'Dropdown List
TabIndex = 2
Top = 1440
Width = 2175
End
Begin VB.ComboBox cboItem
Height = 300
Index = 1
Left = 1320
Style = 2 'Dropdown List
TabIndex = 1
Top = 960
Width = 2175
End
Begin VB.ComboBox cboItem
Height = 300
Index = 0
Left = 1320
Style = 2 'Dropdown List
TabIndex = 0
Top = 480
Width = 2175
End
Begin VB.Label Label2
Caption = "類 別:"
Height = 255
Index = 3
Left = 240
TabIndex = 20
Top = 1920
Width = 975
End
Begin VB.Label Label2
Caption = "物資編號:"
Height = 255
Index = 0
Left = 240
TabIndex = 19
Top = 480
Width = 975
End
Begin VB.Label Label2
Caption = "物資名稱:"
Height = 255
Index = 1
Left = 240
TabIndex = 18
Top = 960
Width = 975
End
Begin VB.Label Label2
Caption = "計量單位:"
Height = 255
Index = 2
Left = 240
TabIndex = 17
Top = 2400
Width = 975
End
Begin VB.Label Label2
Caption = "規(guī)格型號:"
Height = 255
Index = 16
Left = 240
TabIndex = 16
Top = 1440
Width = 975
End
End
Begin VB.CommandButton cmdExit
Caption = "返回 (&X)"
Height = 375
Left = 6360
TabIndex = 14
Top = 4560
Width = 1215
End
Begin VB.CommandButton cmdSave
Caption = "保存 (&S)"
Height = 375
Left = 4920
TabIndex = 13
Top = 4560
Width = 1215
End
End
Attribute VB_Name = "frmMaterIn1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'是否改動過記錄,ture為改過
Dim mblChange As Boolean
Dim mrc As ADODB.Recordset
Public txtSQL As String
Private Sub cboItem_Change(Index As Integer)
'有變化設置gblchange
mblChange = True
End Sub
Private Sub cboItem_Click(Index As Integer)
Dim sSql As String
Dim MsgText As String
Dim mrcc As ADODB.Recordset
If gintImode = 1 Then
'初始化員工名稱和ID
If Index = 1 Then
cboItem(0).Enabled = True
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -