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

📄 frmtechnicallead.frm

📁 本公司开发得大请油田人事管理系统c/s结构
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{3B008041-905A-11D1-B4AE-444553540000}#1.0#0"; "Vsocx6.ocx"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Object = "{CFFE0A60-8E3A-11D3-BCC0-00104B9E0792}#1.0#0"; "ssinput1.ocx"
Begin VB.Form frmOETechnicalLead 
   Caption         =   "学术,技术带头人编辑"
   ClientHeight    =   3030
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6240
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3030
   ScaleWidth      =   6240
   StartUpPosition =   2  'CenterScreen
   Begin vsOcx6LibCtl.vsElastic vsElastic1 
      Height          =   3030
      Left            =   0
      TabIndex        =   0
      TabStop         =   0   'False
      Top             =   0
      Width           =   6240
      _ExtentX        =   11007
      _ExtentY        =   5345
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Enabled         =   -1  'True
      Appearance      =   1
      MousePointer    =   0
      _ConvInfo       =   -1
      Version         =   600
      BackColor       =   -2147483633
      ForeColor       =   -2147483630
      FloodColor      =   192
      ForeColorDisabled=   -2147483631
      Caption         =   ""
      Align           =   5
      Appearance      =   1
      AutoSizeChildren=   8
      BorderWidth     =   6
      ChildSpacing    =   4
      Splitter        =   0   'False
      FloodDirection  =   0
      FloodPercent    =   0
      CaptionPos      =   1
      WordWrap        =   -1  'True
      MaxChildSize    =   0
      MinChildSize    =   0
      TagWidth        =   0
      TagPosition     =   0
      Style           =   0
      TagSplit        =   0   'False
      PicturePos      =   4
      CaptionStyle    =   0
      ResizeFonts     =   0   'False
      GridRows        =   7
      GridCols        =   4
      _GridInfo       =   $"frmTechnicalLead.frx":0000
      Begin ActiveInput.SSComboBoxEx SSComboBoxEx4Name 
         Height          =   330
         Left            =   1620
         TabIndex        =   20
         Top             =   930
         Width           =   1455
         _ExtentX        =   2566
         _ExtentY        =   582
         _Version        =   65536
      End
      Begin ActiveInput.SSComboBoxEx SSComboBoxEx4Level 
         Height          =   330
         Left            =   4665
         TabIndex        =   19
         Top             =   1350
         Width           =   1485
         _ExtentX        =   2619
         _ExtentY        =   582
         _Version        =   65536
      End
      Begin ActiveInput.SSComboBoxEx SSComboBoxEx4Target 
         Height          =   330
         Left            =   1620
         TabIndex        =   18
         Top             =   1350
         Width           =   1455
         _ExtentX        =   2566
         _ExtentY        =   582
         _Version        =   65536
      End
      Begin VB.TextBox Text4Note 
         Height          =   360
         Left            =   1620
         TabIndex        =   4
         Top             =   2190
         Width           =   4530
      End
      Begin VB.TextBox Text4Name 
         Height          =   360
         Left            =   4665
         TabIndex        =   3
         Top             =   930
         Width           =   1485
      End
      Begin VB.CommandButton Command4Save 
         Caption         =   "保存(&S)"
         Height          =   330
         Left            =   3135
         TabIndex        =   2
         Top             =   2610
         Width           =   1470
      End
      Begin VB.CommandButton Command4Close 
         Caption         =   "关闭(&C)"
         Height          =   330
         Left            =   4665
         TabIndex        =   1
         Top             =   2610
         Width           =   1485
      End
      Begin MSComCtl2.DTPicker DTPicker4Time 
         Height          =   360
         Left            =   1620
         TabIndex        =   5
         Top             =   1770
         Width           =   2985
         _ExtentX        =   5265
         _ExtentY        =   635
         _Version        =   393216
         CheckBox        =   -1  'True
         Format          =   64290817
         CurrentDate     =   37195
      End
      Begin ActiveInput.SSComboBoxEx SSComboBoxEx4Organ 
         Height          =   315
         Left            =   1620
         TabIndex        =   6
         Top             =   90
         Width           =   1455
         _ExtentX        =   2566
         _ExtentY        =   556
         _Version        =   65536
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin ActiveInput.SSComboBoxEx SSComboBoxEx4Company 
         Height          =   330
         Left            =   3135
         TabIndex        =   7
         Top             =   90
         Width           =   1470
         _ExtentX        =   2593
         _ExtentY        =   582
         _Version        =   65536
      End
      Begin ActiveInput.SSComboBoxEx SSComboBoxEx4Large 
         Height          =   330
         Left            =   4665
         TabIndex        =   8
         Top             =   90
         Width           =   1485
         _ExtentX        =   2619
         _ExtentY        =   582
         _Version        =   65536
      End
      Begin ActiveInput.SSComboBoxEx SSComboBoxEx4Small 
         Height          =   330
         Left            =   1620
         TabIndex        =   9
         Top             =   510
         Width           =   1455
         _ExtentX        =   2566
         _ExtentY        =   582
         _Version        =   65536
      End
      Begin ActiveInput.SSSpin SSSpin4CadreCount 
         CausesValidation=   0   'False
         Height          =   450
         Left            =   90
         TabIndex        =   10
         Top             =   2610
         Width           =   1470
         _ExtentX        =   2593
         _ExtentY        =   794
         _Version        =   65536
         BorderStyle     =   0
         SpinOrientation =   1
         SpinButtonWidth =   40
      End
      Begin VB.Label Label9 
         Caption         =   "确定时间"
         Height          =   360
         Left            =   90
         TabIndex        =   17
         Top             =   1770
         Width           =   1470
      End
      Begin VB.Label Label7 
         Caption         =   "备注"
         Height          =   360
         Left            =   90
         TabIndex        =   16
         Top             =   2190
         Width           =   1470
      End
      Begin VB.Label Label4Speciality 
         Caption         =   "专业名称"
         Height          =   360
         Left            =   3135
         TabIndex        =   15
         Top             =   930
         Width           =   1470
      End
      Begin VB.Label Label2 
         Caption         =   "级别"
         Height          =   360
         Left            =   3135
         TabIndex        =   14
         Top             =   1350
         Width           =   1470
      End
      Begin VB.Label Label1 
         Caption         =   "培养目标"
         Height          =   360
         Left            =   90
         TabIndex        =   13
         Top             =   1350
         Width           =   1470
      End
      Begin VB.Label Label4EmpName 
         Caption         =   "本人姓名"
         Height          =   360
         Left            =   90
         TabIndex        =   12
         Top             =   930
         Width           =   1470
      End
      Begin VB.Label Label4Unit 
         Caption         =   "工作单位"
         Height          =   360
         Left            =   90
         TabIndex        =   11
         Top             =   90
         Width           =   1470
      End
   End
End
Attribute VB_Name = "frmOETechnicalLead"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private m_oRs4This As New ADODB.Recordset
Private m_strSQL As String

Private Sub Command4Close_Click()
    Unload Me
End Sub

Private Sub Command4Save_Click()
    Dim strNewOrgan As String
    Me.SSComboBoxEx4Level.CheckList = True
    Me.SSComboBoxEx4Name.CheckList = True
    Me.SSComboBoxEx4Target.CheckList = True
    If Trim(Me.SSComboBoxEx4Company.text) = "" And Trim(Me.SSComboBoxEx4Large.text) = "" And Trim(Me.SSComboBoxEx4Small.text) = "" Then
        MsgBox "必须选择一个工作单位", vbOKOnly, "提示"
        Exit Sub
    End If
    
    If Trim(Me.SSComboBoxEx4Name.text) = "" Then
        MsgBox "必须选择一个人员", vbOKOnly, "提示"
        Exit Sub
    End If
    
    If Trim(Me.Text4Name.text) = "" Then
        MsgBox "必须选择一个专业名称", vbOKOnly, "提示"
        Exit Sub
    End If

    strNewOrgan = HaveOrganNo(Me.SSComboBoxEx4Small, Me.SSComboBoxEx4Large, Me.SSComboBoxEx4Company, Me.SSComboBoxEx4Organ)
    If g_int4statuse = 0 Then
       m_strSQL = "insert into T_TECHNICAL_LEAD(EMP_NO,organ_no,SPECIALTY_NAME,TECHNICAL_LEAD_LEVEL_NO,TECHNICAL_LEAD_TARGET_NO,SURE_TIME,NOTE,TECHNICAL_LEAD) values (" _

⌨️ 快捷键说明

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