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

📄 kaoqinji.frm

📁 用microsoft vb6.0写的上班考勤系统!
💻 FRM
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form frmmain 
   Caption         =   "黄岐第一城考勤系统"
   ClientHeight    =   7245
   ClientLeft      =   165
   ClientTop       =   450
   ClientWidth     =   8610
   LinkTopic       =   "Form1"
   ScaleHeight     =   7245
   ScaleWidth      =   8610
   StartUpPosition =   3  '窗口缺省
   WindowState     =   2  'Maximized
   Begin VB.CommandButton Command6 
      Caption         =   "退出"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   855
      Left            =   10440
      TabIndex        =   10
      Top             =   7800
      Width           =   1455
   End
   Begin TabDlg.SSTab SSTab1 
      Height          =   6495
      Left            =   0
      TabIndex        =   0
      Top             =   1320
      Width           =   11895
      _ExtentX        =   20981
      _ExtentY        =   11456
      _Version        =   393216
      Tabs            =   4
      Tab             =   3
      TabsPerRow      =   4
      TabHeight       =   520
      BackColor       =   16744576
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      TabCaption(0)   =   "员工卡管理"
      TabPicture(0)   =   "kaoqinji.frx":0000
      Tab(0).ControlEnabled=   0   'False
      Tab(0).Control(0)=   "btnfaka"
      Tab(0).Control(1)=   "Command2"
      Tab(0).Control(2)=   "bufaka"
      Tab(0).Control(3)=   "tuika"
      Tab(0).ControlCount=   4
      TabCaption(1)   =   "考勤模式设置"
      TabPicture(1)   =   "kaoqinji.frx":019A
      Tab(1).ControlEnabled=   0   'False
      Tab(1).Control(0)=   "Command1"
      Tab(1).Control(1)=   "qinjia"
      Tab(1).Control(2)=   "Command4"
      Tab(1).Control(3)=   "jiaban"
      Tab(1).ControlCount=   4
      TabCaption(2)   =   "资料管理"
      TabPicture(2)   =   "kaoqinji.frx":0334
      Tab(2).ControlEnabled=   0   'False
      Tab(2).Control(0)=   "Command3"
      Tab(2).Control(1)=   "Command5"
      Tab(2).Control(2)=   "Command7"
      Tab(2).Control(3)=   "Command8"
      Tab(2).ControlCount=   4
      TabCaption(3)   =   "系统管理"
      TabPicture(3)   =   "kaoqinji.frx":04CE
      Tab(3).ControlEnabled=   -1  'True
      Tab(3).Control(0)=   "Command9"
      Tab(3).Control(0).Enabled=   0   'False
      Tab(3).Control(1)=   "User"
      Tab(3).Control(1).Enabled=   0   'False
      Tab(3).Control(2)=   "Command11"
      Tab(3).Control(2).Enabled=   0   'False
      Tab(3).Control(3)=   "Command12"
      Tab(3).Control(3).Enabled=   0   'False
      Tab(3).ControlCount=   4
      Begin VB.CommandButton Command12 
         Caption         =   "Command12"
         Height          =   495
         Left            =   6240
         TabIndex        =   18
         Top             =   4680
         Width           =   2055
      End
      Begin VB.CommandButton Command11 
         Caption         =   "退出系统"
         Height          =   495
         Left            =   3480
         TabIndex        =   17
         Top             =   4200
         Width           =   1575
      End
      Begin VB.CommandButton User 
         Caption         =   "系统使用者资料"
         Height          =   615
         Left            =   6000
         TabIndex        =   16
         Top             =   1920
         Width           =   1455
      End
      Begin VB.CommandButton Command9 
         Caption         =   "考勤机联接"
         Height          =   855
         Left            =   2880
         TabIndex        =   15
         Top             =   1920
         Width           =   2055
      End
      Begin VB.CommandButton Command8 
         Caption         =   "Command8"
         Height          =   375
         Left            =   -70440
         TabIndex        =   14
         Top             =   3360
         Width           =   1095
      End
      Begin VB.CommandButton Command7 
         Caption         =   "员工资料"
         Height          =   615
         Left            =   -70320
         TabIndex        =   13
         Top             =   1920
         Width           =   1215
      End
      Begin VB.CommandButton Command5 
         Caption         =   "内部调动"
         Height          =   420
         Left            =   -72840
         TabIndex        =   12
         Top             =   3240
         Width           =   975
      End
      Begin VB.CommandButton Command3 
         Caption         =   "查询资料"
         Height          =   495
         Left            =   -73080
         TabIndex        =   11
         Top             =   1800
         Width           =   1095
      End
      Begin VB.CommandButton jiaban 
         Caption         =   "加班登记"
         Height          =   855
         Left            =   -70440
         TabIndex        =   8
         Top             =   2760
         Width           =   2055
      End
      Begin VB.CommandButton Command4 
         Caption         =   "Command4"
         Height          =   855
         Left            =   -73200
         TabIndex        =   7
         Top             =   2820
         Width           =   2055
      End
      Begin VB.CommandButton qinjia 
         Caption         =   "请假登记"
         Height          =   855
         Left            =   -70440
         TabIndex        =   6
         Top             =   1380
         Width           =   2055
      End
      Begin VB.CommandButton Command1 
         Caption         =   "Command1"
         Height          =   855
         Left            =   -73200
         TabIndex        =   5
         Top             =   1380
         Width           =   2055
      End
      Begin VB.CommandButton tuika 
         BackColor       =   &H00FF8080&
         Caption         =   "退卡"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   735
         Left            =   -70200
         TabIndex        =   4
         Top             =   3060
         Width           =   2295
      End
      Begin VB.CommandButton bufaka 
         BackColor       =   &H00FF8080&
         Caption         =   "补发卡"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   735
         Left            =   -70200
         TabIndex        =   3
         Top             =   1380
         Width           =   2295
      End
      Begin VB.CommandButton Command2 
         BackColor       =   &H00FF8080&
         Caption         =   "Command2"
         Height          =   735
         Left            =   -72960
         TabIndex        =   2
         Top             =   2940
         Width           =   2295
      End
      Begin VB.CommandButton btnfaka 
         BackColor       =   &H00FF8080&
         Caption         =   "发卡"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   735
         Left            =   -73200
         MaskColor       =   &H00FFC0C0&
         TabIndex        =   1
         Top             =   1380
         Width           =   2295
      End
   End
   Begin VB.Label Label1 
      BorderStyle     =   1  'Fixed Single
      Caption         =   "黄岐第一城考勤系统"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   42
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   1095
      Left            =   2505
      TabIndex        =   9
      Top             =   120
      Width           =   7815
   End
End
Attribute VB_Name = "frmmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim record_data As String * 30
Private Cnnmain As ADODB.Connection
Private Rstmain As ADODB.Recordset
Private Rstfaka As ADODB.Recordset
Private Cnnfaka As ADODB.Connection

Private Sub btnfaka_Click()
Faka.Show
End Sub
Private Sub Command11_Click()
Unload Me
End Sub

Private Sub Command3_Click()
Query.Show
End Sub

Private Sub Command6_Click()
Unload Me
End Sub
Public Function FindHaveNo(ByVal CNO As String) As Boolean

   Rstmain.Open "select * from kaoqishuju where CardNo='" + CNO + "'", Cnnfaka, adOpenKeyset, adLockBatchOptimistic, adCmdText

   If Not Rstmain.EOF Then
      FindHaveNo = True
   Else
      FindHaveNo = False
   End If
End Function



Private Sub qinjia_Click()
  
  holiday.Show

End Sub

Private Sub User_Click()
  Userinfo.Show
End Sub

⌨️ 快捷键说明

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