📄 员工信息查询结果.frm
字号:
VERSION 5.00
Begin VB.Form Form4
Caption = "Form4"
ClientHeight = 4470
ClientLeft = 60
ClientTop = 420
ClientWidth = 7860
LinkTopic = "Form4"
ScaleHeight = 4470
ScaleWidth = 7860
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame1
Caption = "员工信息"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2895
Left = 120
TabIndex = 2
Top = 120
Width = 7575
Begin VB.TextBox Text9
Height = 375
Left = 1200
TabIndex = 11
Top = 2280
Width = 2775
End
Begin VB.TextBox Text8
Height = 375
Left = 4080
TabIndex = 10
Top = 1680
Width = 3255
End
Begin VB.TextBox Text7
Height = 375
Left = 1080
TabIndex = 9
Top = 1680
Width = 1455
End
Begin VB.TextBox Text6
Height = 375
Left = 6120
TabIndex = 8
Top = 1080
Width = 1215
End
Begin VB.TextBox Text5
Height = 375
Left = 3480
TabIndex = 7
Top = 1080
Width = 1335
End
Begin VB.TextBox Text4
Height = 375
Left = 1080
TabIndex = 6
Top = 1080
Width = 975
End
Begin VB.TextBox Text3
Height = 375
Left = 6120
TabIndex = 5
Top = 480
Width = 735
End
Begin VB.TextBox Text2
Height = 375
Left = 3480
TabIndex = 4
Top = 480
Width = 1215
End
Begin VB.TextBox Text1
Enabled = 0 'False
Height = 375
Left = 1080
TabIndex = 3
Top = 480
Width = 1215
End
Begin VB.Label Label9
Caption = "联系电话"
Height = 255
Left = 240
TabIndex = 20
Top = 2400
Width = 735
End
Begin VB.Label Label8
Caption = "家庭地址"
Height = 255
Left = 3120
TabIndex = 19
Top = 1800
Width = 735
End
Begin VB.Label Label7
Caption = "职 称"
Height = 255
Left = 240
TabIndex = 18
Top = 1800
Width = 495
End
Begin VB.Label Label6
Caption = "学 历"
Height = 255
Left = 5400
TabIndex = 17
Top = 1200
Width = 495
End
Begin VB.Label Label5
Caption = "籍 贯"
Height = 255
Left = 2760
TabIndex = 16
Top = 1200
Width = 495
End
Begin VB.Label Label4
Caption = "年 龄"
Height = 255
Left = 240
TabIndex = 15
Top = 1200
Width = 495
End
Begin VB.Label Label3
Caption = "性 别"
Height = 255
Left = 5400
TabIndex = 14
Top = 600
Width = 495
End
Begin VB.Label Label2
Caption = "姓 名"
Height = 255
Left = 2760
TabIndex = 13
Top = 600
Width = 495
End
Begin VB.Label Label1
Caption = "职工号"
Height = 255
Left = 240
TabIndex = 12
Top = 600
Width = 615
End
End
Begin VB.Frame Frame2
Caption = "操 作"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 975
Left = 2400
TabIndex = 0
Top = 3240
Width = 3015
Begin VB.CommandButton Command1
Caption = "确 定"
Height = 375
Left = 1080
TabIndex = 1
Top = 360
Width = 975
End
End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rst As New ADODB.Recordset
Private Sub Command1_Click()
If rst.State = 1 Then
rst.Close
End If
rst.Open "select * from ygxx", cnn, 1, 1
Set Form5.DataGrid1.DataSource = rst
Unload Me
Form5.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -