📄 form5.frm
字号:
VERSION 5.00
Begin VB.Form Form5
Caption = "Form5"
ClientHeight = 5925
ClientLeft = 60
ClientTop = 465
ClientWidth = 5220
LinkTopic = "Form5"
ScaleHeight = 5925
ScaleWidth = 5220
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "提交"
Height = 375
Left = 1560
TabIndex = 6
Top = 5280
Width = 1335
End
Begin VB.TextBox Text1
Height = 495
Left = 2040
TabIndex = 5
Top = 960
Width = 1695
End
Begin VB.TextBox Text3
Height = 495
Left = 2040
TabIndex = 4
Top = 2280
Width = 1815
End
Begin VB.TextBox Text4
Height = 495
Left = 2040
TabIndex = 3
Top = 3120
Width = 1815
End
Begin VB.TextBox Text5
Height = 375
Left = 2040
TabIndex = 2
Top = 3960
Width = 1695
End
Begin VB.TextBox Text2
Height = 495
Left = 2040
TabIndex = 1
Top = 1560
Width = 1695
End
Begin VB.TextBox Text6
Height = 375
Left = 2040
TabIndex = 0
Top = 4680
Width = 1695
End
Begin VB.Label Label3
Caption = "查询窗口"
Height = 255
Left = 2040
TabIndex = 13
Top = 120
Width = 855
End
Begin VB.Label Label7
Caption = "性别:"
Height = 375
Left = 960
TabIndex = 12
Top = 4200
Width = 615
End
Begin VB.Label Label6
Caption = "关系:"
Height = 495
Left = 960
TabIndex = 11
Top = 3360
Width = 495
End
Begin VB.Label Label5
Caption = "家庭住址:"
Height = 495
Left = 960
TabIndex = 10
Top = 2400
Width = 855
End
Begin VB.Label Label4
Caption = "电话号码:"
Height = 495
Left = 960
TabIndex = 9
Top = 960
Width = 855
End
Begin VB.Label Label8
Caption = "年龄:"
Height = 375
Left = 960
TabIndex = 8
Top = 1680
Width = 495
End
Begin VB.Label Label1
Caption = "姓名:"
Height = 375
Left = 960
TabIndex = 7
Top = 4680
Width = 495
End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
ifco = "true"
If Trim(Text6) <> "" Then ifco = "姓名='" & Trim(Text6) & "' and " & ifco
If Trim(Text1) <> "" Then ifco = "联系电话='" & Trim(Text1) & "' and " & ifco
If Trim(Text3) <> "" Then ifco = "家庭住址='" & Trim(Text3) & "' and " & ifco
If Trim(Text4) <> "" Then ifco = "关系='" & Trim(Text4) & "' and " & ifco
If Trim(Text5) <> "" Then ifco = "性别='" & Trim(Text5) & "' and " & ifco
If Trim(Text2) <> "" Then ifco = "年龄=val(" & Trim(Text2) & ") and " & ifco
Form5.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -