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

📄 frmfind.frm

📁 客户管理是CRM的基础核心部分
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmFind 
   Caption         =   "查找"
   ClientHeight    =   1995
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4500
   LinkTopic       =   "Form1"
   ScaleHeight     =   1995
   ScaleWidth      =   4500
   StartUpPosition =   1  '所有者中心
   Begin VB.TextBox txtFilte 
      Height          =   375
      Left            =   1200
      TabIndex        =   4
      Top             =   1320
      Width           =   1575
   End
   Begin VB.ComboBox cmbTitleItems 
      Height          =   300
      Left            =   1200
      Style           =   2  'Dropdown List
      TabIndex        =   3
      Top             =   360
      Width           =   1575
   End
   Begin VB.CommandButton cmdFilter 
      Caption         =   "查找"
      Default         =   -1  'True
      Height          =   375
      Left            =   3000
      TabIndex        =   2
      Top             =   360
      Width           =   1215
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "取消"
      Height          =   375
      Left            =   3000
      TabIndex        =   1
      Top             =   1080
      Width           =   1215
   End
   Begin VB.ComboBox cmbCondition 
      Height          =   300
      ItemData        =   "frmFind.frx":0000
      Left            =   1200
      List            =   "frmFind.frx":0013
      Style           =   2  'Dropdown List
      TabIndex        =   0
      Top             =   825
      Width           =   1575
   End
   Begin VB.Label Label1 
      Caption         =   "查找内容"
      Height          =   255
      Left            =   120
      TabIndex        =   7
      Top             =   1440
      Width           =   855
   End
   Begin VB.Label Label2 
      Caption         =   "选择字段"
      Height          =   255
      Left            =   120
      TabIndex        =   6
      Top             =   480
      Width           =   855
   End
   Begin VB.Label Label3 
      Caption         =   "查找条件"
      Height          =   255
      Left            =   120
      TabIndex        =   5
      Top             =   960
      Width           =   855
   End
End
Attribute VB_Name = "frmFind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdCancel_Click()
Unload Me
End Sub

Private Sub cmdFilter_Click()
    If txtFilte.Text = "" Or cmbTitleItems.Text = "" Or cmbCondition.Text = "" Then
        MsgBox "条件不完全,请正确输入"
        Exit Sub
    End If
    Dim strMode$
    Select Case cmbCondition.Text
           Case "等于"
               strMode = "="
           Case "大于"
                 strMode = ">"
            Case "小于"
               strMode = "<"
            Case "大于等于"
               strMode = ">="
           Case "小于等于"
               strMode = "<="
    End Select

    'Call mTDbClient.FilterField(cmbTitleItems.Text, txtFilte.Text, strMode) '过滤
    Unload Me
End Sub

Private Sub Form_Load()
    Dim strTemp$, i&
    For i = 0 To INT_CLIENT_TITLE_COUNT_NUMBER - 1
        strTemp = gClientTitleArryStr(i)
        Call cmbTitleItems.AddItem(strTemp, i)
    Next i
    cmbTitleItems.ListIndex = 0
    cmbCondition.Text = cmbCondition.List(0)
End Sub

⌨️ 快捷键说明

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