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

📄 main_jccx.frm

📁 从网络上下载的VB的人事档案管理系统,经过修改.加入了些功能.希望对大家有帮助
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
Begin VB.Form main_jccx 
   BackColor       =   &H00D0E8EE&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "决策查询"
   ClientHeight    =   4755
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   8475
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4755
   ScaleWidth      =   8475
   StartUpPosition =   1  '所有者中心
   Begin VB.Timer Timer1 
      Interval        =   100
      Left            =   210
      Top             =   330
   End
   Begin VB.CommandButton Command3 
      BackColor       =   &H00FFFFC0&
      Caption         =   "退出"
      Height          =   390
      Left            =   7620
      Style           =   1  'Graphical
      TabIndex        =   10
      Top             =   1380
      Width           =   660
   End
   Begin MSHierarchicalFlexGridLib.MSHFlexGrid MSHFlexGrid1 
      Bindings        =   "main_jccx.frx":0000
      Height          =   2460
      Left            =   105
      TabIndex        =   9
      Top             =   2160
      Width           =   8265
      _ExtentX        =   14579
      _ExtentY        =   4339
      _Version        =   393216
      Cols            =   1
      FixedCols       =   0
      BackColorFixed  =   16761024
      BackColorBkg    =   16777215
      GridLines       =   0
      GridLinesFixed  =   3
      Appearance      =   0
      _NumberOfBands  =   1
      _Band(0).Cols   =   1
      _Band(0).TextStyleBand=   0
   End
   Begin VB.CommandButton Command2 
      BackColor       =   &H00FFFFC0&
      Caption         =   "查询"
      Height          =   390
      Left            =   6915
      Style           =   1  'Graphical
      TabIndex        =   7
      Top             =   1380
      Width           =   660
   End
   Begin VB.ComboBox Cbo2 
      Height          =   300
      Left            =   4005
      TabIndex        =   6
      Top             =   1455
      Width           =   1275
   End
   Begin VB.ComboBox Cbo1 
      Height          =   300
      Left            =   1080
      TabIndex        =   5
      Top             =   1470
      Width           =   1965
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00FFFFC0&
      Caption         =   "查询"
      Height          =   390
      Left            =   3075
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   915
      Width           =   660
   End
   Begin VB.TextBox Text1 
      BackColor       =   &H00FFFFFF&
      Height          =   300
      Left            =   705
      TabIndex        =   1
      Top             =   960
      Width           =   2235
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   -435
      Top             =   2985
      Visible         =   0   'False
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   582
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   8
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   ""
      OLEDBString     =   ""
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   ""
      Caption         =   "Adodc1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _Version        =   393216
   End
   Begin VB.Label lblnow 
      BackStyle       =   0  'Transparent
      ForeColor       =   &H00808080&
      Height          =   225
      Left            =   6225
      TabIndex        =   12
      Top             =   525
      Width           =   2085
   End
   Begin VB.Label Lblrs 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   270
      Left            =   6255
      TabIndex        =   8
      Top             =   1470
      Width           =   555
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "文化程度                         用工性质                 找到人数"
      Height          =   240
      Left            =   240
      TabIndex        =   4
      Top             =   1515
      Width           =   6030
   End
   Begin VB.Label Label10 
      BackColor       =   &H00FFC0C0&
      BackStyle       =   0  'Transparent
      Caption         =   "决策查询"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   18
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   375
      Left            =   3315
      TabIndex        =   2
      Top             =   150
      Width           =   1485
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "姓名"
      Height          =   240
      Left            =   240
      TabIndex        =   0
      Top             =   1020
      Width           =   495
   End
   Begin VB.Label Label3 
      BackColor       =   &H00FFC0C0&
      BackStyle       =   0  'Transparent
      Caption         =   "决策查询"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   18
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C0C0C0&
      Height          =   375
      Left            =   3375
      TabIndex        =   11
      Top             =   150
      Width           =   1485
   End
End
Attribute VB_Name = "main_jccx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
  Cbo1.AddItem ("初中及以下")
  Cbo1.AddItem ("中专/高中")
  Cbo1.AddItem ("专科")
  Cbo1.AddItem ("本科")
  Cbo1.AddItem ("研究生")
  Cbo1.ListIndex = 1
  Cbo2.AddItem ("正式工")
  Cbo2.AddItem ("临时工")
  Cbo2.AddItem ("合同工")
  Cbo2.ListIndex = 0
  Adodc1.ConnectionString = Cnn
  Adodc1.RecordSource = "select * from 人事档案信息表"
  Adodc1.Refresh
End Sub
Private Sub Timer1_Timer()
  lblnow.Caption = Now
End Sub
Private Sub Command1_Click()
  Adodc1.RecordSource = "select * from 人事档案信息表 where 姓名 like + '" + Text1.Text + "'+'%'"
  Adodc1.Refresh


End Sub
Private Sub Command2_Click()
  Adodc1.RecordSource = "select * from 人事档案信息表 where 文化程度='" + Cbo1.Text + "'and 用工性质='" + Cbo2.Text + "'"
  Adodc1.Refresh
  If Adodc1.Recordset.RecordCount > 0 Then
     Lblrs.Caption = Adodc1.Recordset.RecordCount
  Else
     Lblrs.Caption = "0"
  End If
End Sub
Private Sub Command3_Click()
  Call CmdEnd(Me)
End Sub

⌨️ 快捷键说明

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