F_JiBenXinXi.frm
资源名称:dbbase.rar [点击查看]
上传用户:xiao_xia32
上传日期:2022-07-21
资源大小:1174k
文件大小:64k
源码类别:
企业管理
开发平台:
Visual Basic
- VERSION 5.00
- Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
- Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
- Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
- Object = "{0BA686C6-F7D3-101A-993E-0000C0EF6F5E}#1.0#0"; "THREED32.OCX"
- Begin VB.Form F_JiBenXinXi
- BorderStyle = 3 'Fixed Dialog
- Caption = "员工基本信息"
- ClientHeight = 8625
- ClientLeft = 1095
- ClientTop = 330
- ClientWidth = 11805
- ControlBox = 0 'False
- KeyPreview = -1 'True
- LinkTopic = "Form1"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- Moveable = 0 'False
- ScaleHeight = 8625
- ScaleWidth = 11805
- StartUpPosition = 2 '屏幕中心
- Begin VB.Frame Frame1
- Height = 8655
- Left = 0
- TabIndex = 65
- Top = 0
- Width = 12015
- Begin TabDlg.SSTab SSTab1
- Height = 8655
- Left = 0
- TabIndex = 66
- Top = 0
- Width = 11805
- _ExtentX = 20823
- _ExtentY = 15266
- _Version = 393216
- Tabs = 2
- TabHeight = 520
- TabCaption(0) = "基本信息录入"
- TabPicture(0) = "F_JiBenXinXi.frx":0000
- Tab(0).ControlEnabled= -1 'True
- Tab(0).Control(0)= "Frame2"
- Tab(0).Control(0).Enabled= 0 'False
- Tab(0).Control(1)= "Picture1"
- Tab(0).Control(1).Enabled= 0 'False
- Tab(0).ControlCount= 2
- TabCaption(1) = "花名册"
- TabPicture(1) = "F_JiBenXinXi.frx":001C
- Tab(1).ControlEnabled= 0 'False
- Tab(1).Control(0)= "Frame3"
- Tab(1).ControlCount= 1
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- BorderStyle = 0 'None
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 420
- Left = 4800
- ScaleHeight = 420
- ScaleWidth = 6720
- TabIndex = 130
- Top = 8040
- Width = 6720
- Begin Threed.SSCommand cmdClose
- Height = 330
- Left = 5520
- TabIndex = 131
- Top = 0
- Width = 1095
- _Version = 65536
- _ExtentX = 1931
- _ExtentY = 573
- _StockProps = 78
- Caption = "&Q.关 闭"
- Font3D = 1
- End
- Begin Threed.SSCommand CmdAdd
- Height = 330
- Left = 720
- TabIndex = 60
- Top = 0
- Width = 1095
- _Version = 65536
- _ExtentX = 1931
- _ExtentY = 573
- _StockProps = 78
- Caption = "&A.增 加"
- Font3D = 1
- End
- Begin Threed.SSCommand cmdEdit
- Height = 330
- Left = 1920
- TabIndex = 61
- Top = 0
- Width = 1095
- _Version = 65536
- _ExtentX = 1931
- _ExtentY = 573
- _StockProps = 78
- Caption = "&E.编 辑"
- Font3D = 1
- End
- Begin Threed.SSCommand CmdDelete
- Height = 330
- Left = 3120
- TabIndex = 62
- Top = 0
- Width = 1095
- _Version = 65536
- _ExtentX = 1931
- _ExtentY = 573
- _StockProps = 78
- Caption = "&D.删 除"
- Font3D = 1
- End
- Begin Threed.SSCommand cmdUpdate
- Height = 330
- Left = 4320
- TabIndex = 132
- Top = 0
- Width = 1095
- _Version = 65536
- _ExtentX = 1931
- _ExtentY = 573
- _StockProps = 78
- Caption = "&Y.保 存"
- Font3D = 1
- End
- Begin Threed.SSCommand cmdRefresh
- Height = 330
- Left = 4320
- TabIndex = 63
- Top = 0
- Width = 1095
- _Version = 65536
- _ExtentX = 1931
- _ExtentY = 573
- _StockProps = 78
- Caption = "&R.刷新"
- Font3D = 1
- End
- Begin Threed.SSCommand cmdCancel
- Height = 330
- Left = 5520
- TabIndex = 64
- Top = 0
- Width = 1095
- _Version = 65536
- _ExtentX = 1931
- _ExtentY = 573
- _StockProps = 78
- Caption = "&C.取消"
- Font3D = 1
- End
- End
- Begin VB.Frame Frame3
- Height = 7455
- Left = -74880
- TabIndex = 121
- Top = 480
- Width = 11535
- Begin MSDataGridLib.DataGrid DataGrid1
- Height = 6975
- Left = 120
- TabIndex = 122
- Top = 360
- Width = 11295
- _ExtentX = 19923
- _ExtentY = 12303
- _Version = 393216
- AllowUpdate = 0 'False
- HeadLines = 1
- RowHeight = 14
- BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ColumnCount = 2
- BeginProperty Column00
- DataField = ""
- Caption = ""
- BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
- Type = 0
- Format = ""
- HaveTrueFalseNull= 0
- FirstDayOfWeek = 0
- FirstWeekOfYear = 0
- LCID = 2052
- SubFormatType = 0
- EndProperty
- EndProperty
- BeginProperty Column01
- DataField = ""
- Caption = ""
- BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
- Type = 0
- Format = ""
- HaveTrueFalseNull= 0
- FirstDayOfWeek = 0
- FirstWeekOfYear = 0
- LCID = 2052
- SubFormatType = 0
- EndProperty
- EndProperty
- SplitCount = 1
- BeginProperty Split0
- BeginProperty Column00
- EndProperty
- BeginProperty Column01
- EndProperty
- EndProperty
- End
- End
- Begin VB.Frame Frame2
- Height = 7455
- Left = 120
- TabIndex = 67
- Top = 360
- Width = 11535
- Begin VB.ComboBox Combo7
- DataField = "劳动力类型"
- Height = 315
- Left = 5520
- TabIndex = 34
- Top = 4200
- Width = 1935
- End
- Begin VB.ComboBox Combo6
- Appearance = 0 'Flat
- DataField = "招收类型"
- Height = 300
- Left = 9120
- TabIndex = 32
- Top = 3840
- Width = 1935
- End
- Begin MSComCtl2.DTPicker DTPicker14
- DataField = "离职时间"
- Height = 300
- Left = 1920
- TabIndex = 42
- Top = 5280
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36279
- End
- Begin VB.ComboBox Combo5
- DataField = "子女性别"
- Height = 315
- Left = 1920
- TabIndex = 51
- Top = 6360
- Width = 1935
- End
- Begin VB.ComboBox Combo4
- Appearance = 0 'Flat
- DataField = "性别"
- Height = 300
- Left = 9120
- TabIndex = 2
- Top = 240
- Width = 1935
- End
- Begin VB.ComboBox Combo3
- DataField = "学历"
- Height = 315
- Left = 5520
- TabIndex = 7
- Top = 960
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "离职原因"
- Height = 285
- Index = 33
- Left = 9120
- TabIndex = 41
- Top = 4920
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "健康情况"
- Height = 285
- Index = 6
- Left = 9120
- TabIndex = 59
- Top = 7080
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "离职档案转出单位"
- Height = 285
- Index = 26
- Left = 5520
- TabIndex = 43
- Top = 5280
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "所在街道办事处"
- Height = 285
- Index = 19
- Left = 1920
- TabIndex = 36
- Top = 4560
- Width = 1935
- End
- Begin VB.ComboBox Combo2
- DataField = "用工类型"
- Height = 315
- Left = 1920
- TabIndex = 33
- Top = 4200
- Width = 1935
- End
- Begin VB.ComboBox Combo1
- DataField = "部门"
- Height = 315
- Left = 5520
- TabIndex = 10
- Top = 1320
- Width = 1935
- End
- Begin MSComCtl2.DTPicker DTPicker13
- DataField = "转正时间"
- Height = 300
- Left = 1920
- TabIndex = 9
- Top = 1320
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36195
- End
- Begin MSComCtl2.DTPicker DTPicker12
- DataField = "子女医疗包干结束时间"
- Height = 300
- Left = 5520
- TabIndex = 55
- Top = 6720
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36195
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "岗位"
- Height = 285
- Index = 7
- Left = 9120
- TabIndex = 11
- Top = 1320
- Width = 1935
- End
- Begin MSComCtl2.DTPicker DTPicker11
- DataField = "进入公司时间"
- Height = 300
- Left = 9120
- TabIndex = 8
- Top = 960
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker10
- DataField = "档案转入时间"
- Height = 300
- Left = 5520
- TabIndex = 31
- Top = 3840
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker9
- DataField = "子女医疗包干开始时间"
- Height = 300
- Left = 1920
- TabIndex = 54
- Top = 6720
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker8
- DataField = "独生子女费结束时间"
- Height = 300
- Left = 9120
- TabIndex = 53
- Top = 6360
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker7
- DataField = "独生子女费开始时间"
- Height = 300
- Left = 5520
- TabIndex = 52
- Top = 6360
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker6
- DataField = "子女出生日期"
- Height = 300
- Left = 9120
- TabIndex = 50
- Top = 6000
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker5
- Height = 300
- Left = 1920
- TabIndex = 45
- Top = 5640
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker4
- DataField = "参加工作时间"
- Height = 300
- Left = 5520
- TabIndex = 28
- Top = 3480
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker3
- DataField = "初次领证时间"
- Height = 300
- Left = 5520
- TabIndex = 25
- Top = 3120
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker2
- DataField = "职称评定时间"
- Height = 300
- Left = 5520
- TabIndex = 22
- Top = 2760
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin MSComCtl2.DTPicker DTPicker1
- DataField = "出生日期"
- Height = 300
- Left = 1920
- TabIndex = 3
- Top = 600
- Width = 1935
- _ExtentX = 3413
- _ExtentY = 529
- _Version = 393216
- CheckBox = -1 'True
- DateIsNull = -1 'True
- Format = 69795841
- CurrentDate = 36191
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "生育指标"
- Height = 285
- Index = 36
- Left = 1920
- TabIndex = 48
- Top = 6000
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "爱人联系电话"
- Height = 285
- Index = 35
- Left = 9120
- TabIndex = 47
- Top = 5640
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "爱人工作单位"
- Height = 285
- Index = 34
- Left = 5520
- TabIndex = 46
- Top = 5640
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "爱人姓名"
- Height = 285
- Index = 32
- Left = 9120
- TabIndex = 44
- Top = 5280
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "移动电话"
- Height = 285
- Index = 31
- Left = 5520
- TabIndex = 40
- Top = 4920
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "传呼机"
- Height = 285
- Index = 30
- Left = 1920
- TabIndex = 39
- Top = 4920
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "电话"
- Height = 285
- Index = 29
- Left = 9120
- TabIndex = 38
- Top = 4560
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "邮编"
- Height = 285
- Index = 28
- Left = 5520
- TabIndex = 37
- Top = 4560
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "家庭通讯地址"
- Height = 285
- Index = 27
- Left = 9120
- TabIndex = 35
- Top = 4200
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "有效期限"
- Height = 285
- Index = 25
- Left = 1920
- TabIndex = 27
- Top = 3480
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "准驾车辆"
- Height = 285
- Index = 23
- Left = 1920
- TabIndex = 24
- Top = 3120
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "驾驶证号"
- Height = 285
- Index = 22
- Left = 9120
- TabIndex = 23
- Top = 2760
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "人员类型二级"
- Height = 285
- Index = 54
- Left = 1920
- TabIndex = 57
- TabStop = 0 'False
- Top = 7080
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "人员类型一级"
- Height = 285
- Index = 53
- Left = 9120
- TabIndex = 56
- Top = 6720
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "原职务"
- Height = 285
- Index = 46
- Left = 1920
- TabIndex = 30
- Top = 3840
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "原任职单位"
- Height = 285
- Index = 45
- Left = 9120
- TabIndex = 29
- Top = 3480
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "独生子女姓名"
- Height = 285
- Index = 38
- Left = 5520
- TabIndex = 49
- Top = 6000
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "特长"
- Height = 285
- Index = 21
- Left = 5520
- TabIndex = 58
- Top = 7080
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "技术证书"
- Height = 285
- Index = 20
- Left = 9120
- TabIndex = 26
- Top = 3120
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "职称"
- Height = 285
- Index = 18
- Left = 1920
- TabIndex = 21
- Top = 2760
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "毕业学校"
- Height = 285
- Index = 17
- Left = 9120
- TabIndex = 20
- Top = 2400
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "所学专业"
- Height = 285
- Index = 16
- Left = 5520
- TabIndex = 19
- Top = 2400
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "身份证号"
- Height = 285
- Index = 14
- Left = 1920
- TabIndex = 18
- Top = 2400
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "婚姻状况"
- Height = 285
- Index = 13
- Left = 9120
- TabIndex = 5
- Top = 600
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "政治面目"
- Height = 285
- Index = 12
- Left = 1920
- TabIndex = 6
- Top = 960
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "户口所在地"
- Height = 285
- Index = 11
- Left = 9120
- TabIndex = 17
- Top = 2040
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "出生地点"
- Height = 285
- Index = 10
- Left = 5520
- TabIndex = 16
- Top = 2040
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "籍贯"
- Height = 285
- Index = 9
- Left = 1920
- TabIndex = 15
- Top = 2040
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "民族"
- Height = 285
- Index = 8
- Left = 5520
- TabIndex = 4
- Top = 600
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "血型"
- Height = 285
- Index = 5
- Left = 1920
- TabIndex = 12
- Top = 1680
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "体重"
- Height = 285
- Index = 4
- Left = 9120
- TabIndex = 14
- Top = 1680
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "身高"
- Height = 285
- Index = 3
- Left = 5520
- TabIndex = 13
- Top = 1680
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "姓名"
- Height = 285
- Index = 1
- Left = 5520
- TabIndex = 1
- Top = 240
- Width = 1935
- End
- Begin VB.TextBox txtFields
- Appearance = 0 'Flat
- DataField = "员工号"
- Height = 285
- Index = 0
- Left = 1920
- TabIndex = 0
- Top = 240
- Width = 1935
- End
- Begin VB.Label lblLabels
- Caption = "离职原因"
- Height = 255
- Index = 37
- Left = 7800
- TabIndex = 129
- Top = 4920
- Width = 975
- End
- Begin VB.Label lblLabels
- Caption = "健康情况"
- Height = 255
- Index = 6
- Left = 7800
- TabIndex = 128
- Top = 7080
- Width = 735
- End
- Begin VB.Label lblLabels
- Caption = "离职档案转出单位"
- Height = 255
- Index = 60
- Left = 3960
- TabIndex = 127
- Top = 5280
- Width = 1455
- End
- Begin VB.Label lblLabels
- Caption = "离职时间"
- Height = 255
- Index = 59
- Left = 120
- TabIndex = 126
- Top = 5280
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "所在街道办事处"
- Height = 255
- Index = 58
- Left = 120
- TabIndex = 125
- Top = 4560
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "部 门"
- Height = 255
- Index = 57
- Left = 3960
- TabIndex = 124
- Top = 1320
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "岗 位"
- Height = 255
- Index = 56
- Left = 7800
- TabIndex = 123
- Top = 1320
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "生育指标"
- Height = 255
- Index = 36
- Left = 120
- TabIndex = 120
- Top = 6000
- Width = 975
- End
- Begin VB.Label lblLabels
- Caption = "爱人联系电话"
- Height = 255
- Index = 35
- Left = 7800
- TabIndex = 119
- Top = 5640
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "爱人工作单位"
- Height = 255
- Index = 34
- Left = 3960
- TabIndex = 118
- Top = 5640
- Width = 1455
- End
- Begin VB.Label lblLabels
- Caption = "爱人出生日期"
- Height = 255
- Index = 33
- Left = 120
- TabIndex = 117
- Top = 5640
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "爱人姓名"
- Height = 255
- Index = 32
- Left = 7800
- TabIndex = 116
- Top = 5280
- Width = 975
- End
- Begin VB.Label lblLabels
- Caption = "移动电话"
- Height = 255
- Index = 31
- Left = 3960
- TabIndex = 115
- Top = 4920
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "传呼机"
- Height = 255
- Index = 30
- Left = 120
- TabIndex = 114
- Top = 4920
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "电 话"
- Height = 255
- Index = 29
- Left = 7800
- TabIndex = 113
- Top = 4560
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "邮 编"
- Height = 255
- Index = 28
- Left = 3960
- TabIndex = 112
- Top = 4560
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "家庭通讯地址"
- Height = 255
- Index = 27
- Left = 7800
- TabIndex = 111
- Top = 4200
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "参加工作时间"
- Height = 255
- Index = 26
- Left = 3960
- TabIndex = 110
- Top = 3480
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "有效期限"
- Height = 255
- Index = 25
- Left = 120
- TabIndex = 109
- Top = 3480
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "初次领证时间"
- Height = 255
- Index = 24
- Left = 3960
- TabIndex = 108
- Top = 3120
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "准驾车辆"
- Height = 255
- Index = 23
- Left = 120
- TabIndex = 107
- Top = 3120
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "驾驶证号"
- Height = 255
- Index = 22
- Left = 7800
- TabIndex = 106
- Top = 2760
- Width = 735
- End
- Begin VB.Label lblLabels
- Caption = "劳动力类型"
- Height = 255
- Index = 55
- Left = 3960
- TabIndex = 105
- Top = 4200
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "人员类型二级"
- Height = 255
- Index = 54
- Left = 120
- TabIndex = 104
- Top = 7080
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "人员类型一级"
- Height = 255
- Index = 53
- Left = 7680
- TabIndex = 103
- Top = 6720
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "招收类型"
- Height = 255
- Index = 52
- Left = 7800
- TabIndex = 102
- Top = 3840
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "档案转入时间"
- Height = 255
- Index = 50
- Left = 3960
- TabIndex = 101
- Top = 3840
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "用工类型"
- Height = 255
- Index = 49
- Left = 120
- TabIndex = 100
- Top = 4200
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "转正时间"
- Height = 255
- Index = 48
- Left = 120
- TabIndex = 99
- Top = 1320
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "进入公司时间"
- Height = 255
- Index = 47
- Left = 7800
- TabIndex = 98
- Top = 960
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "原职务"
- Height = 255
- Index = 46
- Left = 120
- TabIndex = 97
- Top = 3840
- Width = 735
- End
- Begin VB.Label lblLabels
- Caption = "原任职单位"
- Height = 255
- Index = 45
- Left = 7800
- TabIndex = 96
- Top = 3480
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "子女医疗包干结束时间"
- Height = 255
- Index = 44
- Left = 3840
- TabIndex = 95
- Top = 6720
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "子女医疗包干开始时间"
- Height = 255
- Index = 43
- Left = 120
- TabIndex = 94
- Top = 6720
- Width = 1935
- End
- Begin VB.Label lblLabels
- Caption = "独生子女费结束时间"
- Height = 255
- Index = 42
- Left = 7440
- TabIndex = 93
- Top = 6360
- Width = 1695
- End
- Begin VB.Label lblLabels
- Caption = "独生子女费开始时间"
- Height = 255
- Index = 41
- Left = 3960
- TabIndex = 92
- Top = 6360
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "子女性别"
- Height = 255
- Index = 40
- Left = 120
- TabIndex = 91
- Top = 6360
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "子女出生日期"
- Height = 255
- Index = 39
- Left = 7800
- TabIndex = 90
- Top = 6000
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "独生子女姓名"
- Height = 255
- Index = 38
- Left = 3960
- TabIndex = 89
- Top = 6000
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "特 长"
- Height = 255
- Index = 21
- Left = 3960
- TabIndex = 88
- Top = 7080
- Width = 735
- End
- Begin VB.Label lblLabels
- Caption = "技术证书"
- Height = 255
- Index = 20
- Left = 7800
- TabIndex = 87
- Top = 3120
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "职称评定时间"
- Height = 255
- Index = 19
- Left = 3960
- TabIndex = 86
- Top = 2760
- Width = 1095
- End
- Begin VB.Label lblLabels
- Caption = "职 称"
- Height = 255
- Index = 18
- Left = 120
- TabIndex = 85
- Top = 2760
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "毕业学校"
- Height = 255
- Index = 17
- Left = 7800
- TabIndex = 84
- Top = 2400
- Width = 1095
- End
- Begin VB.Label lblLabels
- Caption = "所学专业"
- Height = 255
- Index = 16
- Left = 3960
- TabIndex = 83
- Top = 2400
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "学 历"
- Height = 255
- Index = 15
- Left = 3960
- TabIndex = 82
- Top = 960
- Width = 975
- End
- Begin VB.Label lblLabels
- Caption = "身份证号"
- Height = 255
- Index = 14
- Left = 120
- TabIndex = 81
- Top = 2400
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "婚姻状况"
- Height = 255
- Index = 13
- Left = 7800
- TabIndex = 80
- Top = 600
- Width = 855
- End
- Begin VB.Label lblLabels
- Caption = "政治面目"
- Height = 255
- Index = 12
- Left = 120
- TabIndex = 79
- Top = 960
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "户口所在地"
- Height = 255
- Index = 11
- Left = 7800
- TabIndex = 78
- Top = 2040
- Width = 1215
- End
- Begin VB.Label lblLabels
- Caption = "出生地点"
- Height = 255
- Index = 10
- Left = 3960
- TabIndex = 77
- Top = 2040
- Width = 1815
- End
- Begin VB.Label lblLabels
- Caption = "籍 贯"
- Height = 255
- Index = 9
- Left = 120
- TabIndex = 76
- Top = 2040
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "民 族"
- Height = 255
- Index = 8
- Left = 3960
- TabIndex = 75
- Top = 600
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "出生日期"
- Height = 255
- Index = 7
- Left = 120
- TabIndex = 74
- Top = 600
- Width = 975
- End
- Begin VB.Label lblLabels
- Caption = "血 型"
- Height = 255
- Index = 5
- Left = 120
- TabIndex = 73
- Top = 1680
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "体 重"
- Height = 255
- Index = 4
- Left = 7800
- TabIndex = 72
- Top = 1680
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "身 高"
- Height = 255
- Index = 3
- Left = 3960
- TabIndex = 71
- Top = 1680
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "性 别"
- Height = 255
- Index = 2
- Left = 7800
- TabIndex = 70
- Top = 240
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "姓 名"
- Height = 255
- Index = 1
- Left = 3960
- TabIndex = 69
- Top = 240
- Width = 615
- End
- Begin VB.Label lblLabels
- Caption = "员工号"
- Height = 255
- Index = 0
- Left = 120
- TabIndex = 68
- Top = 300
- Width = 615
- End
- End
- End
- End
- End
- Attribute VB_Name = "F_JiBenXinXi"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Dim WithEvents adoPrimaryRS As Recordset
- Attribute adoPrimaryRS.VB_VarHelpID = -1
- Dim mvBookMark As Variant
- Dim mbEditFlag As Boolean
- Dim mbAddNewFlag As Boolean
- Dim SqlBuMen As String
- Private Sub Combo1_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub Combo2_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub Combo3_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub Combo4_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub Combo5_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub Combo6_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub Combo7_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker1_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker10_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker11_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker12_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker13_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker14_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker2_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker3_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker4_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker5_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker6_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker7_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker8_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub DTPicker9_KeyPress(KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub Form_Load()
- On Error Resume Next
- For Each TextBox In Me.Controls
- TextBox.Font.Name = "宋体"
- TextBox.Font.Size = 9
- Next
- Set adoPrimaryRS = New Recordset
- adoPrimaryRS.Open "select * from 员工基本信息", db, adOpenStatic, adLockOptimistic
- Set DataGrid1.DataSource = adoPrimaryRS
- SetButtons True
- Set DTPicker1.DataSource = adoPrimaryRS
- Set DTPicker2.DataSource = adoPrimaryRS
- Set DTPicker3.DataSource = adoPrimaryRS
- Set DTPicker4.DataSource = adoPrimaryRS
- Set DTPicker5.DataSource = adoPrimaryRS
- Set DTPicker6.DataSource = adoPrimaryRS
- Set DTPicker7.DataSource = adoPrimaryRS
- Set DTPicker8.DataSource = adoPrimaryRS
- Set DTPicker9.DataSource = adoPrimaryRS
- Set DTPicker10.DataSource = adoPrimaryRS
- Set DTPicker11.DataSource = adoPrimaryRS
- Set DTPicker12.DataSource = adoPrimaryRS
- Set DTPicker13.DataSource = adoPrimaryRS
- Set DTPicker14.DataSource = adoPrimaryRS
- Set Combo1.DataSource = adoPrimaryRS
- Set Combo2.DataSource = adoPrimaryRS
- Set Combo3.DataSource = adoPrimaryRS
- Set Combo4.DataSource = adoPrimaryRS
- Set Combo5.DataSource = adoPrimaryRS
- Set Combo6.DataSource = adoPrimaryRS
- Set Combo7.DataSource = adoPrimaryRS
- Dim oText As TextBox
- 'Bind the text boxes to the data provider
- For Each oText In Me.txtFields
- Set oText.DataSource = adoPrimaryRS
- Next
- SqlBuMen = "select distinct 部门名称 from 部门维护表"
- Set RsBuMen = db.Execute(SqlBuMen)
- While Not RsBuMen.EOF
- Combo1.AddItem Trim(RsBuMen("部门名称"))
- RsBuMen.MoveNext
- Wend
- Combo2.AddItem "正式工"
- Combo2.AddItem "临时工"
- Combo2.AddItem "聘退人员"
- Combo3.AddItem "博士"
- Combo3.AddItem "硕士"
- Combo3.AddItem "大学"
- Combo3.AddItem "大专"
- Combo3.AddItem "高中"
- Combo3.AddItem "职高"
- Combo3.AddItem "中技"
- Combo3.AddItem "初中"
- Combo4.AddItem "男"
- Combo4.AddItem "女"
- Combo5.AddItem "男"
- Combo5.AddItem "女"
- Combo6.AddItem "从农村招收"
- Combo6.AddItem "从城镇招收"
- Combo6.AddItem "复员转业军人"
- Combo6.AddItem "大学中专技校毕业生"
- Combo6.AddItem "本市外单位调入"
- Combo6.AddItem "外省自治区直辖市调入"
- Combo6.AddItem "其他"
- Combo7.AddItem "工人和学徒"
- Combo7.AddItem "工程技术人员"
- Combo7.AddItem "管理人员"
- Combo7.AddItem "服务人员"
- Combo7.AddItem "其他人员"
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Screen.MousePointer = vbDefault
- End Sub
- Private Sub cmdAdd_Click()
- On Error GoTo AddErr
- With adoPrimaryRS
- If Not (.BOF And .EOF) Then
- mvBookMark = .Bookmark
- End If
- .AddNew
- mbAddNewFlag = True
- SetButtons False
- End With
- On Error GoTo 0
- Exit Sub
- AddErr:
- MsgBox "增加操作有错误", vbExclamation + vbOKOnly, pTitle
- End Sub
- Private Sub cmdDelete_Click()
- On Error GoTo DeleteErr
- If MsgBox("是否确认删除员工信息?", vbYesNo + vbQuestion, "系统提示") = vbNo Then Exit Sub
- With adoPrimaryRS
- .Delete
- .MoveNext
- If .EOF Then .MoveLast
- End With
- On Error GoTo 0
- Exit Sub
- DeleteErr:
- MsgBox "删除操作有错误", vbExclamation + vbOKOnly, pTitle
- End Sub
- Private Sub cmdRefresh_Click()
- 'This is only needed for multi user apps
- On Error GoTo RefreshErr
- adoPrimaryRS.Requery
- Exit Sub
- RefreshErr:
- MsgBox "刷新操作有错误", vbExclamation + vbOKOnly, pTitle
- End Sub
- Private Sub cmdEdit_Click()
- On Error GoTo EditErr
- mbEditFlag = True
- SetButtons False
- On Error GoTo 0
- Exit Sub
- EditErr:
- MsgBox "更改操作有错误", vbExclamation + vbOKOnly, pTitle
- End Sub
- Private Sub cmdCancel_Click()
- ' On Error Resume Next
- On Error GoTo CancelErr
- mbEditFlag = False
- mbAddNewFlag = False
- adoPrimaryRS.CancelUpdate
- If mvBookMark > 0 Then
- adoPrimaryRS.Bookmark = mvBookMark
- Else
- adoPrimaryRS.MoveFirst
- End If
- SetButtons True
- Exit Sub
- CancelErr:
- MsgBox "取消操作有错误", vbExclamation + vbOKOnly, pTitle
- End Sub
- Private Sub cmdUpdate_Click()
- On Error GoTo UpdateErr
- If MsgBox("是否确认此操作?", vbYesNo + vbQuestion, "系统提示") = vbNo Then Exit Sub
- adoPrimaryRS.UpdateBatch adAffectAll
- If mbAddNewFlag Then
- adoPrimaryRS.MoveLast 'move to the new record
- End If
- mbEditFlag = False
- mbAddNewFlag = False
- SetButtons True
- On Error GoTo 0
- Exit Sub
- UpdateErr:
- MsgBox "保存操作有错误", vbExclamation + vbOKOnly, pTitle
- End Sub
- Private Sub cmdClose_Click()
- RSGL.Enabled = True
- Unload Me
- End Sub
- Private Sub SetButtons(bVal As Boolean)
- Dim oTEX As TextBox
- CmdAdd.Visible = bVal
- cmdEdit.Visible = bVal
- cmdUpdate.Visible = Not bVal
- cmdCancel.Visible = Not bVal
- CmdDelete.Visible = bVal
- cmdClose.Visible = bVal
- cmdRefresh.Visible = bVal
- If bVal Then
- Set DataGrid1.DataSource = adoPrimaryRS
- Else
- Set DataGrid1.DataSource = Nothing
- End If
- For Each oText In Me.txtFields
- oText.Enabled = Not bVal
- Next
- DTPicker1.Enabled = Not bVal
- DTPicker2.Enabled = Not bVal
- DTPicker3.Enabled = Not bVal
- DTPicker4.Enabled = Not bVal
- DTPicker5.Enabled = Not bVal
- DTPicker6.Enabled = Not bVal
- DTPicker7.Enabled = Not bVal
- DTPicker8.Enabled = Not bVal
- DTPicker9.Enabled = Not bVal
- DTPicker10.Enabled = Not bVal
- DTPicker11.Enabled = Not bVal
- DTPicker12.Enabled = Not bVal
- DTPicker13.Enabled = Not bVal
- DTPicker14.Enabled = Not bVal
- Combo1.Enabled = Not bVal
- Combo2.Enabled = Not bVal
- Combo3.Enabled = Not bVal
- Combo4.Enabled = Not bVal
- Combo5.Enabled = Not bVal
- Combo6.Enabled = Not bVal
- Combo7.Enabled = Not bVal
- End Sub
- Private Sub txtFields_KeyPress(Index As Integer, KeyAscii As Integer)
- If KeyAscii = vbKeyReturn Then
- SendKeys "{TAB}"
- End If
- End Sub
- Private Sub txtFields_LostFocus(Index As Integer)
- If Not IsNumeric(txtFields(3).Text) And (txtFields(3).Text <> "") Then
- MsgBox "请在“身高”中输入数字", vbExclamation + vbOKOnly, pTitle
- txtFields(3).SetFocus
- txtFields(3).SelLength = Len(txtFields(3))
- txtFields(3).SelStart = 0
- End If
- If Not IsNumeric(txtFields(4).Text) And (txtFields(4).Text <> "") Then
- MsgBox "请在“体重”中输入数字", vbExclamation + vbOKOnly, pTitle
- txtFields(4).SetFocus
- txtFields(4).SelLength = Len(txtFields(4))
- txtFields(4).SelStart = 0
- End If
- End Sub