📄 frmprl.frm
字号:
VERSION 5.00
Begin VB.Form frmprl
BorderStyle = 1 'Fixed Single
Caption = "个人简历表"
ClientHeight = 5115
ClientLeft = 45
ClientTop = 330
ClientWidth = 7800
ControlBox = 0 'False
LinkTopic = "Form2"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5115
ScaleWidth = 7800
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command8
Caption = "查找"
Height = 375
Left = 4680
TabIndex = 24
Top = 3840
Width = 1215
End
Begin VB.CommandButton Command11
Caption = "返回"
Height = 375
Left = 6240
TabIndex = 23
Top = 1800
Width = 1095
End
Begin VB.CommandButton Command10
Caption = "取消"
Height = 375
Left = 6120
TabIndex = 22
Top = 4080
Width = 1335
End
Begin VB.CommandButton Command9
Caption = "确定"
Height = 375
Left = 6120
TabIndex = 21
Top = 3600
Width = 1335
End
Begin VB.Frame Frame1
Caption = "维护管理"
Height = 1335
Left = 240
TabIndex = 14
Top = 3360
Width = 7335
Begin VB.Frame Frame2
Caption = "查询"
Height = 1095
Left = 2280
TabIndex = 25
Top = 120
Width = 3495
Begin VB.TextBox Text3
Height = 270
Left = 720
TabIndex = 29
Top = 600
Width = 1335
End
Begin VB.TextBox Text2
Height = 270
Left = 720
TabIndex = 28
Top = 240
Width = 1335
End
Begin VB.Label Label3
Caption = "按姓名"
Height = 375
Left = 120
TabIndex = 27
Top = 600
Width = 855
End
Begin VB.Label Label2
Caption = "按编号"
Height = 255
Left = 120
TabIndex = 26
Top = 240
Width = 975
End
End
Begin VB.CommandButton Command7
Caption = "修改"
Height = 375
Left = 1200
TabIndex = 20
Top = 480
Width = 975
End
Begin VB.CommandButton Command6
Caption = "删除"
Height = 375
Left = 120
TabIndex = 19
Top = 720
Width = 975
End
Begin VB.CommandButton Command5
Caption = "添加"
Height = 375
Left = 120
TabIndex = 18
Top = 240
Width = 975
End
End
Begin VB.Frame Frame4
Caption = " 浏览"
Height = 855
Left = 240
TabIndex = 12
Top = 2280
Width = 7335
Begin VB.CommandButton Command2
Caption = "下一条"
Height = 375
Left = 1920
TabIndex = 17
Top = 240
Width = 1575
End
Begin VB.CommandButton Command3
Caption = "上一条"
Height = 375
Left = 3720
TabIndex = 16
Top = 240
Width = 1575
End
Begin VB.CommandButton Command4
Caption = "最后一条"
Height = 375
Left = 5640
TabIndex = 15
Top = 240
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "第一条"
Height = 375
Left = 120
TabIndex = 13
Top = 240
Width = 1575
End
End
Begin VB.TextBox Text1
Height = 285
Index = 5
Left = 4440
TabIndex = 11
Text = "Text1"
Top = 1680
Width = 1455
End
Begin VB.TextBox Text1
Height = 285
Index = 0
Left = 1440
TabIndex = 4
Text = "Text1"
Top = 240
Width = 1575
End
Begin VB.TextBox Text1
Height = 285
Index = 1
Left = 1440
TabIndex = 3
Text = "Text1"
Top = 960
Width = 1095
End
Begin VB.TextBox Text1
Height = 285
Index = 2
Left = 1440
TabIndex = 2
Text = "Text1"
Top = 1680
Width = 1215
End
Begin VB.TextBox Text1
Height = 285
Index = 3
Left = 4440
TabIndex = 1
Text = "Text1"
Top = 240
Width = 1695
End
Begin VB.TextBox Text1
Height = 285
Index = 4
Left = 4440
TabIndex = 0
Text = "Text1"
Top = 960
Width = 2175
End
Begin VB.Label Label4
Caption = "月/日/年"
ForeColor = &H000000C0&
Height = 255
Left = 6240
TabIndex = 30
Top = 240
Width = 1215
End
Begin VB.Label Label1
Caption = "证 明 人:"
Height = 255
Index = 5
Left = 3240
TabIndex = 10
Top = 1680
Width = 1095
End
Begin VB.Label Label1
Caption = "工作单位:"
Height = 255
Index = 4
Left = 3240
TabIndex = 9
Top = 960
Width = 1095
End
Begin VB.Label Label1
Caption = "起止时间:"
Height = 255
Index = 3
Left = 3240
TabIndex = 8
Top = 240
Width = 975
End
Begin VB.Label Label1
Caption = "职 务:"
Height = 255
Index = 2
Left = 240
TabIndex = 7
Top = 1680
Width = 1095
End
Begin VB.Label Label1
Caption = "姓 名:"
ForeColor = &H00FF0000&
Height = 255
Index = 1
Left = 240
TabIndex = 6
Top = 960
Width = 1095
End
Begin VB.Label Label1
Caption = "编 号:"
ForeColor = &H00FF0000&
Height = 255
Index = 0
Left = 240
TabIndex = 5
Top = 240
Width = 1095
End
End
Attribute VB_Name = "frmprl"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim op As Boolean
Dim error As Boolean
Dim selen As New ADODB.Recordset
Dim selex As New ADODB.Recordset
Private Sub Command1_Click()
Command3.Enabled = False
Command1.Enabled = False
Command2.Enabled = True
Command4.Enabled = True
If prlc.RecordCount > 0 Then
prlc.MoveFirst
displayprl
Else
MsgBox "database error!"
End If
End Sub
Private Sub Command10_Click()
If judge = True Then
If prlc.RecordCount > 0 Then
prlc.MoveFirst
displayprl
Command1.Enabled = True
Command2.Enabled = True
Command3.Enabled = True
Command4.Enabled = True
Command5.Enabled = True
Command6.Enabled = True
Command7.Enabled = True
Command9.Enabled = False
Else
MsgBox "database error!"
End If
Else
Text1(0).Enabled = True
Command1.Enabled = True
Command2.Enabled = True
Command3.Enabled = True
Command4.Enabled = True
Command5.Enabled = True
Command6.Enabled = True
Command7.Enabled = True
Command9.Enabled = False
End If
If error = True Then 'error
If prlc.RecordCount > 0 Then
prlc.MoveFirst
displayprl
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -