?? menu41.frm
字號:
VERSION 5.00
Begin VB.Form winmenu41
Caption = "內蒙古三聯淀粉廠土豆稱重管理系統———操作員管理模塊"
ClientHeight = 5100
ClientLeft = 60
ClientTop = 345
ClientWidth = 7875
ControlBox = 0 'False
Icon = "menu41.frx":0000
LinkTopic = "Form7"
MDIChild = -1 'True
Moveable = 0 'False
ScaleHeight = 5100
ScaleWidth = 7875
Begin VB.Frame Frame4
BorderStyle = 0 'None
Height = 4455
Left = 0
TabIndex = 1
Top = 0
Width = 6375
Begin VB.CommandButton qxquit
Caption = "返 回"
Height = 375
Left = 4320
TabIndex = 15
Top = 840
Width = 1455
End
Begin VB.CommandButton zggl
Caption = "主管管理"
Height = 375
Left = 2280
TabIndex = 14
Top = 840
Width = 1335
End
Begin VB.CommandButton hyygl
Caption = "化驗員管理"
Height = 375
Left = 3000
TabIndex = 22
Top = 4200
Visible = 0 'False
Width = 1095
End
Begin VB.CommandButton zjygl
Caption = "質檢員管理"
Height = 375
Left = 1920
TabIndex = 13
Top = 4200
Visible = 0 'False
Width = 1095
End
Begin VB.CommandButton sbygl
Caption = "操作員管理"
Height = 375
Left = 360
TabIndex = 12
Top = 840
Width = 1335
End
Begin VB.TextBox tecjydm
Height = 375
Left = 2220
TabIndex = 0
Text = "cjy"
Top = 1680
Visible = 0 'False
Width = 1455
End
Begin VB.TextBox tecjyxm
Height = 390
Left = 2220
TabIndex = 11
Top = 2280
Width = 1455
End
Begin VB.TextBox tecjymm
Height = 375
IMEMode = 3 'DISABLE
Left = 2220
PasswordChar = "*"
TabIndex = 10
Top = 2880
Width = 1455
End
Begin VB.Frame Frame15
BorderStyle = 0 'None
Height = 2175
Left = 4320
TabIndex = 3
Top = 1680
Width = 1335
Begin VB.CommandButton cjyquit
Caption = "返 回"
Height = 375
Left = 120
TabIndex = 4
Top = 1800
Width = 1095
End
Begin VB.CommandButton cjycancel
Caption = "取 消"
Enabled = 0 'False
Height = 375
Left = 120
TabIndex = 9
Top = 1440
Width = 1095
End
Begin VB.CommandButton cjyok
Caption = "確 定"
Enabled = 0 'False
Height = 375
Left = 120
TabIndex = 5
Top = 1080
Width = 1095
End
Begin VB.CommandButton cjydel
Caption = "刪除操作員"
Height = 375
Left = 120
TabIndex = 6
Top = 720
Width = 1095
End
Begin VB.CommandButton cjymodi
Caption = "修改操作員"
Height = 375
Left = 120
TabIndex = 7
Top = 360
Width = 1095
End
Begin VB.CommandButton cjyappe
Caption = "增加操作員"
Height = 375
Left = 120
TabIndex = 8
Top = 0
Width = 1095
End
End
Begin VB.TextBox tecjyqx
Height = 375
Left = 2220
TabIndex = 2
Top = 3480
Width = 1455
End
Begin VB.ComboBox Combo2
Height = 300
Left = 2220
TabIndex = 21
Text = "Combo2"
Top = 1320
Width = 1455
End
Begin VB.Shape Shape3
BorderColor = &H000000FF&
BorderWidth = 4
FillColor = &H000000FF&
Height = 495
Left = 360
Top = 480
Width = 615
End
Begin VB.Line Line8
X1 = 480
X2 = 3600
Y1 = 3360
Y2 = 3360
End
Begin VB.Shape Shape2
Height = 615
Left = 480
Top = 2160
Width = 3375
End
Begin VB.Line Line1
X1 = 2040
X2 = 2040
Y1 = 1560
Y2 = 3960
End
Begin VB.Line Line9
BorderColor = &H00FF0000&
BorderWidth = 3
X1 = 0
X2 = 6080
Y1 = 1440
Y2 = 1440
End
Begin VB.Label lacjyqx
Caption = "lacjyqx"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 20
Top = 3480
Width = 1815
End
Begin VB.Label lacjymm
Caption = "Label8"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 18
Top = 3000
Width = 1815
End
Begin VB.Label lacjyxm
Caption = "Label8"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 17
Top = 2400
Width = 1815
End
Begin VB.Label lacjydm
Caption = "Label8"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 16
Top = 1800
Width = 1815
End
Begin VB.Shape Shape1
Height = 2415
Left = 480
Top = 1560
Width = 3375
End
Begin VB.Line Line3
BorderColor = &H00FF0000&
BorderWidth = 3
X1 = 0
X2 = 6080
Y1 = 600
Y2 = 600
End
Begin VB.Label Label8
Caption = "操 作 員 管 理"
BeginProperty Font
Name = "宋體"
Size = 15.75
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 495
Left = 1200
TabIndex = 19
Top = 120
Width = 3855
End
End
End
Attribute VB_Name = "winmenu41"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim jckk As Database
Dim jcktab As Recordset
Dim jcktab1 As Recordset
Dim glbh As Integer
Dim whatdo As Integer
Private Sub cjycancel_Click()
'如果有這些話,則刪除最后一個人時會有提示
Select Case glbh
Case 1
a = "操作員"
Case 2
a = "質檢員"
Case 3
a = "上級主管"
Case 4
a = "化驗員"
End Select
Set jcktab = jckk.OpenRecordset("select * from mm where cjyqx='" + a + "'")
If jcktab.EOF Then
MsgBox "庫中沒有" + a + "時,必須錄入,不能取消", vbOKOnly, "土豆稱重管理系統"
tecjydm.SetFocus
Exit Sub
End If
cjyappe.Enabled = True
cjymodi.Enabled = True
cjydel.Enabled = True
cjyquit.Enabled = True
cjyok.Enabled = False
cjycancel.Enabled = False
tecjydm.Visible = False
Select Case glbh
Case 1
sbygl_Click
Case 2
zjygl_Click
Case 3
zggl_Click
Case 4
hyygl_Click
End Select
End Sub
Private Sub cjydel_Click()
Select Case glbh
Case 1
a = "操作員"
Case 2
a = "質檢員"
Case 3
a = "上級主管"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -