📄 frm_bstjcu.frm
字号:
VERSION 5.00
Begin VB.Form Frm_bstjcu
Caption = "条件查询"
ClientHeight = 1170
ClientLeft = 60
ClientTop = 450
ClientWidth = 5850
LinkTopic = "Form1"
ScaleHeight = 1170
ScaleWidth = 5850
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "查 找"
Height = 330
Left = 2940
TabIndex = 1
Top = 555
Width = 1065
End
Begin VB.TextBox Text1
Height = 435
Left = 735
TabIndex = 0
Top = 525
Width = 1695
End
Begin VB.Label Label1
Caption = "请输入您要查询的别墅编号,单击确定按钮开始查找!"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 0
TabIndex = 2
Top = 0
Width = 5895
End
End
Attribute VB_Name = "Frm_bstjcu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "" Then
MsgBox "您没有输入任何信息!"
Text1.SetFocus
Else
Frm_bsinfocu.Adodc1.RecordSource = "select * from tab_别墅信息 where 别墅编号 like '" & Frm_bstjcu.Text1.Text & "' "
' If Frm_zyinfocu.Adodc1.Recordset.EOF = True Then
' MsgBox "没有找到你需要的别墅信息"
'Frm_zyinfocu.Adodc1.RecordSource = "select * from tab_别墅信息"
' Frm_bstjcu.Hide
'End If
Frm_bsinfocu.Adodc1.Refresh
Unload Me
End If
End Sub
Private Sub Form_Load()
Frm_bstjcu.Top = 550
Frm_bstjcu.Left = 6755
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -