📄 qteabase.frm
字号:
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 420
Left = 1320
TabIndex = 12
Top = 1200
Width = 270
End
Begin VB.Label xm
AutoSize = -1 'True
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
DataField = "姓名"
DataSource = "Adodc1"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 420
Left = 4680
TabIndex = 11
Top = 360
Width = 270
End
Begin VB.Label number
AutoSize = -1 'True
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
DataField = "编号"
DataSource = "Adodc1"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 420
Left = 1320
TabIndex = 10
Top = 480
Width = 270
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "编号:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 0
Left = 240
TabIndex = 9
Top = 360
Width = 975
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "性别:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 1
Left = 240
TabIndex = 8
Top = 1200
Width = 975
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "姓名:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 2
Left = 3480
TabIndex = 7
Top = 360
Width = 975
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "婚否:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 3
Left = 3480
TabIndex = 6
Top = 1200
Width = 975
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "政治面目:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 4
Left = 3480
TabIndex = 5
Top = 1920
Width = 1815
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "籍贯:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 7
Left = 240
TabIndex = 4
Top = 2040
Width = 975
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "奖惩情况:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 8
Left = 120
TabIndex = 3
Top = 4560
Width = 1815
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "毕业时间和地点:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Index = 9
Left = 120
TabIndex = 2
Top = 3600
Width = 1575
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "出生年月:"
BeginProperty Font
Name = "隶书"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 6
Left = 120
TabIndex = 1
Top = 2880
Width = 1935
End
Begin VB.Image photo
BorderStyle = 1 'Fixed Single
Height = 2415
Left = 6840
Top = 240
Width = 2295
End
End
Attribute VB_Name = "qteabase"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim bb, num As String
Private Sub Adodc1_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
Adodc1.Caption = "记录:" & Adodc1.Recordset.AbsolutePosition
If Not (Adodc1.Recordset.EOF Or Adodc1.Recordset.BOF) Then
If Adodc1.Recordset!近照 <> "" Then
photo.Picture = LoadPicture(Adodc1.Recordset!近照)
Else
photo.Picture = Nothing
End If
bb = "编号=" & "'" & Adodc1.Recordset!编号 & "'"
Set rs1 = New Recordset
rs1.Open "select 电话号码,备注 from 教师电话号码表 where " & bb, DataEnvironment1.Connect, adOpenStatic, adLockOptimistic
Set Dbg.DataSource = rs1
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -