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

📄 frm_sqjz_xg.frm

📁 人口信息管理系统 人口信息管理 查询 修改 删除
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frm_SQJZ_XG 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "社区救助信息修改"
   ClientHeight    =   4110
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4905
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4110
   ScaleWidth      =   4905
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame3 
      Height          =   735
      Left            =   2160
      TabIndex        =   9
      Top             =   3100
      Width           =   2655
      Begin VB.CommandButton Command2 
         Caption         =   "取消"
         Height          =   375
         Left            =   1560
         TabIndex        =   11
         Top             =   240
         Width           =   975
      End
      Begin VB.CommandButton Command1 
         Caption         =   "确定"
         Height          =   375
         Left            =   480
         TabIndex        =   10
         Top             =   240
         Width           =   975
      End
   End
   Begin VB.Frame Frame2 
      Height          =   2970
      Left            =   2160
      TabIndex        =   8
      Top             =   120
      Width           =   2655
      Begin VB.TextBox Text1 
         Height          =   300
         Left            =   240
         TabIndex        =   15
         Top             =   2520
         Width           =   2175
      End
      Begin VB.ComboBox Combo2 
         Height          =   300
         ItemData        =   "frm_SQJZ_XG.frx":0000
         Left            =   240
         List            =   "frm_SQJZ_XG.frx":0016
         Style           =   2  'Dropdown List
         TabIndex        =   14
         Top             =   1680
         Width           =   2175
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Left            =   240
         Style           =   2  'Dropdown List
         TabIndex        =   13
         Top             =   840
         Width           =   2175
      End
      Begin VB.Label Label3 
         Caption         =   "检索关系"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C000C0&
         Height          =   375
         Left            =   240
         TabIndex        =   17
         Top             =   1320
         Width           =   1335
      End
      Begin VB.Label Label2 
         Caption         =   "检索内容"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C000C0&
         Height          =   375
         Left            =   240
         TabIndex        =   16
         Top             =   2160
         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
         ForeColor       =   &H00C000C0&
         Height          =   375
         Left            =   240
         TabIndex        =   12
         Top             =   480
         Width           =   1455
      End
   End
   Begin VB.Frame Frame1 
      Height          =   3705
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   1935
      Begin VB.OptionButton Option7 
         Enabled         =   0   'False
         Height          =   500
         Left            =   360
         TabIndex        =   7
         Top             =   3120
         Width           =   255
      End
      Begin VB.OptionButton Option6 
         Enabled         =   0   'False
         Height          =   500
         Left            =   360
         TabIndex        =   6
         Top             =   2640
         Width           =   255
      End
      Begin VB.OptionButton Option5 
         Enabled         =   0   'False
         Height          =   500
         Left            =   360
         TabIndex        =   5
         Top             =   2160
         Width           =   255
      End
      Begin VB.OptionButton Option4 
         Enabled         =   0   'False
         Height          =   500
         Left            =   360
         TabIndex        =   4
         Top             =   1680
         Width           =   255
      End
      Begin VB.OptionButton Option3 
         Enabled         =   0   'False
         Height          =   500
         Left            =   360
         TabIndex        =   3
         Top             =   1200
         Width           =   255
      End
      Begin VB.OptionButton Option2 
         Enabled         =   0   'False
         Height          =   500
         Left            =   360
         TabIndex        =   2
         Top             =   720
         Width           =   255
      End
      Begin VB.OptionButton Option1 
         Enabled         =   0   'False
         Height          =   500
         Left            =   360
         TabIndex        =   1
         Top             =   240
         Width           =   225
      End
      Begin VB.Label Label10 
         Caption         =   "残疾人"
         Height          =   300
         Left            =   720
         TabIndex        =   24
         Top             =   3285
         Width           =   1095
      End
      Begin VB.Label Label9 
         Caption         =   "老年人"
         Height          =   255
         Left            =   720
         TabIndex        =   23
         Top             =   2800
         Width           =   975
      End
      Begin VB.Label Label8 
         Caption         =   "工作对象"
         Height          =   255
         Left            =   720
         TabIndex        =   22
         Top             =   2320
         Width           =   855
      End
      Begin VB.Label Label7 
         Caption         =   "两劳人员"
         Height          =   255
         Left            =   720
         TabIndex        =   21
         Top             =   1850
         Width           =   975
      End
      Begin VB.Label Label6 
         Caption         =   "优抚人员"
         Height          =   255
         Left            =   720
         TabIndex        =   20
         Top             =   1400
         Width           =   975
      End
      Begin VB.Label Label5 
         Caption         =   "失业人员"
         Height          =   255
         Left            =   720
         TabIndex        =   19
         Top             =   880
         Width           =   975
      End
      Begin VB.Label Label4 
         Caption         =   "低保人员"
         Height          =   255
         Left            =   720
         TabIndex        =   18
         Top             =   400
         Width           =   855
      End
   End
End
Attribute VB_Name = "frm_SQJZ_XG"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim a, i
Private Sub Combo2_Click()
If Combo2.Text = " =" Then
i = 0
ElseIf Combo2.Text = " <" Then
i = 1
ElseIf Combo2.Text = " <=" Then
i = 2
ElseIf Combo2.Text = " >" Then
i = 3
ElseIf Combo2.Text = " >=" Then
i = 4
ElseIf Combo2.Text = " Like" Then
i = 5
Else
End If
Text1.SetFocus
End Sub

Private Sub Command1_Click()
If Combo1.Text = "" Or Combo2.Text = "" Or Text1.Text = "" Then
MsgBox "输入或选择的信息不能为空", 32, "人口信息管理系统"
Else
If Option1.Value = True Then
    a = Text1.Text
    If i = 0 Then
    frm_SQJZ_XGCT.Adodc1.RecordSource = "select * from Table_SQJZ_DBRY where " + Combo1.Text + "='" + a + "'"
    frm_SQJZ_XGCT.Adodc1.Refresh

⌨️ 快捷键说明

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