www.pudn.com > jiudianguanli.rar > frmfangjianmohuchaxun1.frm


VERSION 5.00 
Begin VB.Form frmfangjianmohuchaxun1  
   BorderStyle     =   1  'Fixed Single 
   Caption         =   "按年龄查询" 
   ClientHeight    =   1575 
   ClientLeft      =   2295 
   ClientTop       =   3870 
   ClientWidth     =   4470 
   Icon            =   "frmfangjianmohuchaxun1.frx":0000 
   LinkTopic       =   "Form1" 
   MaxButton       =   0   'False 
   MinButton       =   0   'False 
   ScaleHeight     =   1575 
   ScaleWidth      =   4470 
   Begin VB.TextBox txtnianling  
      Height          =   375 
      Left            =   1560 
      TabIndex        =   2 
      Top             =   240 
      Width           =   2655 
   End 
   Begin VB.CommandButton cmdchaxun  
      Caption         =   "查询" 
      Height          =   375 
      Left            =   1800 
      TabIndex        =   1 
      Top             =   960 
      Width           =   975 
   End 
   Begin VB.CommandButton cmdnianling  
      Caption         =   "退出" 
      Height          =   375 
      Left            =   3120 
      TabIndex        =   0 
      Top             =   960 
      Width           =   975 
   End 
   Begin VB.Label lblnianling  
      Caption         =   "客户年龄" 
      Height          =   375 
      Left            =   240 
      TabIndex        =   3 
      Top             =   240 
      Width           =   855 
   End 
End 
Attribute VB_Name = "frmfangjianmohuchaxun1" 
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(txtnianling.Text) <> Empty Then 
            cx = "(kehunianling =  " & Trim(txtnianling.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