📄 form2_2_1.frm
字号:
VERSION 5.00
Begin VB.Form Form2_2_1
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 3435
ClientLeft = 0
ClientTop = 0
ClientWidth = 4335
LinkTopic = "Form1"
ScaleHeight = 3435
ScaleWidth = 4335
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "取 消"
Height = 375
Left = 2400
TabIndex = 7
Top = 2640
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "确认修改"
Default = -1 'True
Height = 375
Left = 600
TabIndex = 6
Top = 2640
Width = 1095
End
Begin VB.TextBox Text3
Height = 375
Left = 1560
TabIndex = 5
Top = 1800
Width = 2055
End
Begin VB.TextBox Text2
Height = 375
Left = 1560
TabIndex = 4
Top = 1320
Width = 2055
End
Begin VB.TextBox Text1
Height = 375
Left = 1560
TabIndex = 3
Top = 840
Width = 2055
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
AutoSize = -1 'True
Caption = "请将以下资料修改为符合现状的"
Height = 180
Left = 960
TabIndex = 8
Top = 240
Width = 2520
End
Begin VB.Label Label1
Alignment = 2 'Center
AutoSize = -1 'True
Caption = " 薪 水 :"
Height = 180
Index = 2
Left = 480
TabIndex = 2
Top = 1920
Width = 1005
End
Begin VB.Label Label1
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "新 岗 位:"
Height = 180
Index = 1
Left = 600
TabIndex = 1
Top = 960
Width = 915
End
Begin VB.Label Label1
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "新 职 务:"
Height = 180
Index = 0
Left = 600
TabIndex = 0
Top = 1440
Width = 915
End
End
Attribute VB_Name = "Form2_2_1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Form2_2.XX1 = Trim(Text1.Text)
Form2_2.XX2 = Trim(Text2.Text)
Form2_2.XX3 = Val(Trim(Text3.Text))
Dim str As String
str = "update jx654.Y set YS = '" & Form2_2.XX1 & "',YW = '" & Form2_2.XX2 & "',YX = " & Form2_2.XX3 & " where Y# = '" & Form2_2.DataCombo1.Text & "';"
J.Execute str
Form2_2.Adodc1.Refresh
Form2_2.DataGrid1.Refresh
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -