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

📄 frm_ygcqbz.frm

📁 中小型企业员工管理系统 教程 教程 教程 教程 教程
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frm_ygcqbz 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "员工出勤标准管理"
   ClientHeight    =   1995
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   5235
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1995
   ScaleWidth      =   5235
   StartUpPosition =   2  '屏幕中心
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   540
      Top             =   2610
      Width           =   2055
      _ExtentX        =   3625
      _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.CommandButton cmd_cancel 
      Caption         =   "取消"
      Height          =   345
      Left            =   3945
      TabIndex        =   8
      Top             =   1530
      Width           =   795
   End
   Begin VB.CommandButton cmd_ok 
      Caption         =   "确认"
      Height          =   345
      Left            =   3165
      TabIndex        =   7
      Top             =   1530
      Width           =   795
   End
   Begin VB.Frame Frame1 
      Height          =   1125
      Left            =   480
      TabIndex        =   0
      Top             =   270
      Width           =   4275
      Begin VB.TextBox Text2 
         Height          =   270
         Left            =   2730
         TabIndex        =   5
         Top             =   660
         Width           =   885
      End
      Begin VB.TextBox Text1 
         Height          =   270
         Left            =   2715
         TabIndex        =   2
         Top             =   240
         Width           =   885
      End
      Begin VB.Label Label4 
         Caption         =   "元"
         Height          =   255
         Left            =   3750
         TabIndex        =   6
         Top             =   720
         Width           =   345
      End
      Begin VB.Label Label3 
         Caption         =   "每名员工请假一天扣除月工资"
         Height          =   255
         Left            =   240
         TabIndex        =   4
         Top             =   750
         Width           =   2610
      End
      Begin VB.Label Label2 
         Caption         =   "元"
         Height          =   255
         Left            =   3735
         TabIndex        =   3
         Top             =   300
         Width           =   345
      End
      Begin VB.Label Label1 
         Caption         =   "每名员工迟到一次扣除月工资"
         Height          =   255
         Left            =   240
         TabIndex        =   1
         Top             =   300
         Width           =   2610
      End
   End
End
Attribute VB_Name = "Frm_ygcqbz"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmd_Cancel_Click()
  Unload Me
End Sub

Private Sub cmd_ok_Click()
c = MsgBox("确认要调整扣款的标准吗", 33, "提示信息")
  If c = vbOK Then
      Set DB_AdoRs = Cnn.Execute("UPDATE 扣款标准 SET 迟到扣除='" + Text1 + "',请假扣除='" + Text2 + "'")
      MsgBox "操作成功", 64, "提示信息"
  End If
End Sub

Private Sub Form_Load()
 Adodc1.ConnectionString = MyStrs
 Adodc1.RecordSource = "select * from 扣款标准"
 Adodc1.Refresh
 If Adodc1.Recordset.RecordCount > 0 Then
 
 End If
End Sub

⌨️ 快捷键说明

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