⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmfangjianmohuchaxun.frm

📁 VB编程:简单酒店管理系统(SQL版)VB编程:简单酒店管理系统(SQL版)
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmfangjianmohuchaxun 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "按姓名查询"
   ClientHeight    =   1470
   ClientLeft      =   2505
   ClientTop       =   3675
   ClientWidth     =   4260
   Icon            =   "frmfangjianmohuchaxun.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1470
   ScaleWidth      =   4260
   Begin VB.CommandButton cmdnianling 
      Caption         =   "退出"
      Height          =   375
      Left            =   3120
      TabIndex        =   3
      Top             =   840
      Width           =   975
   End
   Begin VB.CommandButton cmdchaxun 
      Caption         =   "查询"
      Height          =   375
      Left            =   1440
      TabIndex        =   2
      Top             =   840
      Width           =   975
   End
   Begin VB.TextBox txtxingming 
      Height          =   375
      Left            =   1440
      TabIndex        =   1
      Top             =   240
      Width           =   2655
   End
   Begin VB.Label lblxingming 
      Caption         =   "客户姓名"
      Height          =   375
      Left            =   240
      TabIndex        =   0
      Top             =   240
      Width           =   855
   End
End
Attribute VB_Name = "frmfangjianmohuchaxun"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdchaxun_Click()
    Dim cx As String
    cx = Empty
    
   
        If Trim(txtxingming.Text) <> Empty Then
            cx = "(kehuname like '%" & Trim(txtxingming.Text) & " %')"
        End If
        If cx <> Empty Then
            cx = "select * from kehudengji where" & cx
        Else
            cx = "select * from kehudengji"
        End If
        If querydata(cx) = True Then
            Unload Me
            frmmohujieguo.Show
       
    End If
End Sub

Private Sub cmdnianling_Click()
    Unload Me
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -