📄 frm_gzlr.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frm_gzlr
Caption = "工资录入"
ClientHeight = 4695
ClientLeft = 60
ClientTop = 450
ClientWidth = 8415
Icon = "Frm_gzlr.frx":0000
LinkTopic = "Form1"
ScaleHeight = 4695
ScaleWidth = 8415
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton Command3
Caption = "取 消"
Height = 375
Left = 1380
TabIndex = 18
Top = 4155
Width = 1425
End
Begin VB.CommandButton Command4
Caption = "保 存"
Height = 375
Left = 3405
TabIndex = 19
Top = 4155
Width = 1425
End
Begin VB.CommandButton Command6
Caption = "返 回"
Height = 375
Left = 5430
TabIndex = 20
Top = 4140
Width = 1425
End
Begin VB.Frame Frame2
Height = 3255
Left = 120
TabIndex = 0
Top = 720
Width = 8130
Begin VB.TextBox Text14
DataField = "备注"
Height = 300
Left = 1050
TabIndex = 16
Top = 2520
Width = 1440
End
Begin VB.TextBox Text15
DataField = "出生日期"
Height = 300
Left = 3780
TabIndex = 17
Top = 2520
Width = 1440
End
Begin VB.TextBox Text7
DataField = "部门编码"
Height = 300
Left = 3780
TabIndex = 8
Top = 1185
Width = 1440
End
Begin VB.TextBox Text2
DataField = "年龄"
Height = 300
Left = 3780
TabIndex = 2
Top = 270
Width = 1440
End
Begin VB.TextBox Text11
DataField = "电话"
Height = 300
Left = 6480
TabIndex = 12
Top = 1590
Width = 1440
End
Begin VB.TextBox Text10
DataField = "手机"
Height = 300
Left = 3780
TabIndex = 11
Top = 1650
Width = 1440
End
Begin VB.TextBox Text12
DataField = "家庭住址"
Height = 300
Left = 1050
TabIndex = 13
Top = 2025
Width = 1440
End
Begin VB.TextBox Text8
DataField = "部门"
Height = 300
Left = 6480
TabIndex = 9
Top = 1185
Width = 1440
End
Begin VB.TextBox Text9
DataField = "身份证号"
Height = 300
Left = 1050
TabIndex = 10
Top = 1515
Width = 1440
End
Begin VB.TextBox Text1
DataField = "姓名"
Height = 300
Left = 1050
TabIndex = 1
Top = 240
Width = 1440
End
Begin VB.ComboBox Combo1
DataField = "性别"
Height = 300
ItemData = "Frm_gzlr.frx":08CA
Left = 6480
List = "Frm_gzlr.frx":08DD
TabIndex = 3
Top = 255
Width = 1440
End
Begin VB.TextBox Text13
DataField = "备注"
Height = 300
Left = 3780
TabIndex = 14
Top = 2040
Width = 1440
End
Begin VB.TextBox Text5
DataField = "职工编码"
Height = 300
Left = 6480
TabIndex = 6
Top = 750
Width = 1440
End
Begin VB.TextBox Text6
DataField = "学历"
Height = 300
Left = 1050
TabIndex = 7
Top = 1080
Width = 1440
End
Begin VB.TextBox Text3
DataField = "民族"
Height = 300
Left = 1050
TabIndex = 4
Top = 660
Width = 1440
End
Begin VB.TextBox Text4
DataField = "籍贯"
Height = 300
Left = 3780
TabIndex = 5
Top = 720
Width = 1440
End
Begin MSComCtl2.DTPicker DTPicker1
DataField = "出生日期"
Height = 300
Left = 6480
TabIndex = 15
Top = 2100
Width = 1440
_ExtentX = 2540
_ExtentY = 529
_Version = 393216
Format = 20119553
CurrentDate = 38861
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "岗位工资:"
Height = 180
Left = 2850
TabIndex = 37
Top = 780
Width = 900
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "上月余额:"
Height = 180
Left = 2850
TabIndex = 36
Top = 1710
Width = 900
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "公 积 金:"
Height = 180
Left = 2850
TabIndex = 35
Top = 1245
Width = 900
End
Begin VB.Label Label12
AutoSize = -1 'True
Caption = "实发工资:"
Height = 180
Left = 2850
TabIndex = 34
Top = 2070
Width = 900
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "职工编号:"
DataSource = "Adodc1"
Height = 180
Left = 2850
TabIndex = 33
Top = 300
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "领 取 人:"
Height = 180
Left = 2850
TabIndex = 32
Top = 2580
Width = 900
End
Begin VB.Label Label19
AutoSize = -1 'True
Caption = "日 期:"
Height = 180
Left = 5550
TabIndex = 31
Top = 2220
Width = 900
End
Begin VB.Label Label18
AutoSize = -1 'True
Caption = "经手人:"
Height = 180
Left = 180
TabIndex = 30
Top = 2550
Width = 720
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "保 险 金:"
Height = 180
Left = 5550
TabIndex = 29
Top = 1275
Width = 900
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "应发工资:"
Height = 180
Left = 5550
TabIndex = 28
Top = 1680
Width = 900
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "扣款合计:"
Height = 180
Left = 180
TabIndex = 27
Top = 2070
Width = 900
End
Begin VB.Label Label14
AutoSize = -1 'True
Caption = "税 款:"
Height = 180
Left = 180
TabIndex = 26
Top = 1575
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "姓 名:"
Height = 180
Left = 180
TabIndex = 25
Top = 300
Width = 900
End
Begin VB.Label Label11
AutoSize = -1 'True
Caption = "所在部门:"
Height = 180
Left = 5550
TabIndex = 24
Top = 345
Width = 900
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "缺勤工资:"
Height = 180
Left = 180
TabIndex = 23
Top = 1140
Width = 900
End
Begin VB.Label Label15
AutoSize = -1 'True
Caption = "基础工资:"
Height = 180
Left = 180
TabIndex = 22
Top = 720
Width = 900
End
Begin VB.Label Label17
AutoSize = -1 'True
Caption = "岗位津贴:"
Height = 180
Left = 5550
TabIndex = 21
Top = 840
Width = 900
End
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 2190
Top = 4890
Width = 4320
_ExtentX = 7620
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from tab_工资"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "工资信息录入"
BeginProperty Font
Name = "隶书"
Size = 26.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF8080&
Height = 525
Left = 2430
TabIndex = 38
Top = 90
Width = 3240
End
End
Attribute VB_Name = "Frm_gzlr"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command3_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
Text6.Text = " "
Text7.Text = " "
Text8.Text = " "
Text9.Text = " "
Text10.Text = " "
Text11.Text = " "
Text12.Text = " "
Text13.Text = " "
Text14.Text = " "
Text15.Text = " "
Combo1.Text = ""
End Sub
Private Sub Command4_Click()
If Text1 = "" Or Text2 = "" Or Text3 = "" Then
MsgBox "各项基本信息不能为空"
Text1.SetFocus
Else
With Adodc1.Recordset
.Fields(0) = Trim(Text2.Text)
.Fields(1) = Trim(Text1.Text)
.Fields(2) = Trim(Combo1.Text)
.Fields(3) = Trim(Text3.Text)
.Fields(4) = Trim(Text4.Text)
.Fields(5) = Trim(Text6.Text)
.Fields(6) = Trim(Text7.Text)
.Fields(7) = Trim(Text8.Text)
.Fields(8) = Trim(Text9.Text)
.Fields(9) = Trim(Text10.Text)
.Fields(10) = Trim(Text11.Text)
.Fields(12) = Trim(Text12.Text)
.Fields(13) = Trim(Text13.Text)
.Fields(14) = DTPicker1.Value
.Fields(15) = Trim(Text14.Text)
.Fields(16) = Trim(Text15.Text)
.Update
End With
MsgBox "信息添加成功!"
End If
Frm_gzffinfo.GurhanCoolButton2.SetFocus
Unload Me
End Sub
Private Sub Command6_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -