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

📄 frmstartquery3.frm

📁 一个管理程序(实用)VB
💻 FRM
📖 第 1 页 / 共 3 页
字号:
         TabIndex        =   80
         Top             =   360
         Width           =   375
      End
      Begin VB.Line Line1 
         X1              =   5160
         X2              =   5160
         Y1              =   120
         Y2              =   3720
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "工作量统计(小时)"
      ForeColor       =   &H8000000D&
      Height          =   4575
      Left            =   120
      TabIndex        =   4
      Top             =   5640
      Width           =   10335
      Begin VB.Frame Frame3 
         Caption         =   "教学工作量"
         Height          =   1215
         Left            =   120
         TabIndex        =   18
         Top             =   360
         Width           =   10095
         Begin VB.TextBox txtFields 
            DataField       =   "研究生"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   52
            Left            =   720
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   24
            Top             =   360
            Width           =   495
         End
         Begin VB.TextBox txtFields 
            DataField       =   "本科生"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   53
            Left            =   2760
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   23
            Top             =   360
            Width           =   495
         End
         Begin VB.TextBox txtFields 
            DataField       =   "教师班"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   54
            Left            =   5040
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   22
            Top             =   360
            Width           =   495
         End
         Begin VB.TextBox txtFields 
            DataField       =   "夜大班"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   55
            Left            =   7200
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   21
            Top             =   360
            Width           =   495
         End
         Begin VB.TextBox txtFields 
            DataField       =   "减免"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   56
            Left            =   9120
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   20
            Top             =   360
            Width           =   495
         End
         Begin VB.TextBox txtFields 
            DataField       =   "小计"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   57
            Left            =   720
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   19
            Top             =   720
            Width           =   8895
         End
         Begin VB.Label Label10 
            Caption         =   "研究生"
            Height          =   255
            Left            =   120
            TabIndex        =   30
            Top             =   360
            Width           =   615
         End
         Begin VB.Label Label11 
            Caption         =   "本科生"
            Height          =   255
            Left            =   2160
            TabIndex        =   29
            Top             =   360
            Width           =   615
         End
         Begin VB.Label Label12 
            Caption         =   "教师班"
            Height          =   255
            Left            =   4440
            TabIndex        =   28
            Top             =   360
            Width           =   615
         End
         Begin VB.Label Label13 
            Caption         =   "夜大班"
            Height          =   255
            Left            =   6600
            TabIndex        =   27
            Top             =   360
            Width           =   615
         End
         Begin VB.Label Label14 
            Caption         =   "减免"
            Height          =   255
            Left            =   8640
            TabIndex        =   26
            Top             =   360
            Width           =   495
         End
         Begin VB.Label Label15 
            Caption         =   "小计"
            Height          =   255
            Left            =   120
            TabIndex        =   25
            Top             =   720
            Width           =   375
         End
      End
      Begin VB.Frame Frame4 
         Caption         =   "科研工作量"
         Height          =   855
         Left            =   120
         TabIndex        =   11
         Top             =   1680
         Width           =   10095
         Begin VB.TextBox txtFields 
            DataField       =   "纵向"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   58
            Left            =   600
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   14
            Top             =   360
            Width           =   495
         End
         Begin VB.TextBox txtFields 
            DataField       =   "横向"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   59
            Left            =   2640
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   13
            Top             =   360
            Width           =   495
         End
         Begin VB.TextBox txtFields 
            DataField       =   "小计1"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   60
            Left            =   5040
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   12
            Top             =   360
            Width           =   4575
         End
         Begin VB.Label Label16 
            Caption         =   "纵向"
            Height          =   255
            Left            =   120
            TabIndex        =   17
            Top             =   360
            Width           =   375
         End
         Begin VB.Label Label17 
            Caption         =   "横向"
            Height          =   255
            Left            =   2160
            TabIndex        =   16
            Top             =   360
            Width           =   375
         End
         Begin VB.Label Label18 
            Caption         =   "小计"
            Height          =   255
            Left            =   4440
            TabIndex        =   15
            Top             =   360
            Width           =   375
         End
      End
      Begin VB.Frame Frame5 
         Caption         =   "论文著作工作量"
         Height          =   855
         Left            =   120
         TabIndex        =   8
         Top             =   2640
         Width           =   10095
         Begin VB.TextBox txtFields 
            DataField       =   "小计2"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   61
            Left            =   720
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   9
            Top             =   360
            Width           =   8895
         End
         Begin VB.Label Label19 
            Caption         =   "小计"
            Height          =   255
            Left            =   120
            TabIndex        =   10
            Top             =   360
            Width           =   375
         End
      End
      Begin VB.Frame Frame6 
         Caption         =   "工作量其它"
         Height          =   855
         Left            =   120
         TabIndex        =   5
         Top             =   3600
         Width           =   10095
         Begin VB.TextBox ji 
            DataField       =   "小计3"
            DataSource      =   "Data1"
            Height          =   285
            Index           =   62
            Left            =   720
            MaxLength       =   10
            MousePointer    =   99  'Custom
            TabIndex        =   6
            Top             =   360
            Width           =   8895
         End
         Begin VB.Label Label20 
            Caption         =   "小计"
            Height          =   255
            Left            =   120
            TabIndex        =   7
            Top             =   360
            Width           =   375
         End
      End
   End
   Begin VB.Data Data1 
      Caption         =   " "
      Connect         =   "Access"
      DatabaseName    =   "D:\千万不要删,求求大家了\吕昕\毕业设计\教师管理系统.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   345
      Left            =   5040
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "教师考勤表"
      Top             =   600
      Width           =   3255
   End
   Begin VB.TextBox txtInput 
      Height          =   375
      Left            =   1440
      MousePointer    =   99  'Custom
      TabIndex        =   1
      Top             =   600
      Width           =   1455
   End
   Begin VB.CommandButton cmdStart 
      Caption         =   "开始"
      Default         =   -1  'True
      Height          =   375
      Left            =   3000
      TabIndex        =   0
      Top             =   600
      Width           =   855
   End
   Begin VB.Label lblLabels 
      BackStyle       =   0  'Transparent
      Caption         =   "姓名:"
      Height          =   255
      Index           =   0
      Left            =   240
      TabIndex        =   107
      Top             =   1200
      Width           =   375
   End
   Begin VB.Label lblLabels 
      BackStyle       =   0  'Transparent
      Caption         =   "编号:"
      Height          =   255
      Index           =   1
      Left            =   2280
      TabIndex        =   106
      Top             =   1200
      Width           =   375
   End
   Begin VB.Label lblLabels 
      BackStyle       =   0  'Transparent
      Caption         =   "日期:"
      Height          =   255
      Index           =   2
      Left            =   7080
      TabIndex        =   105
      Top             =   1200
      Width           =   495
   End
   Begin VB.Label lblLabels 
      BackStyle       =   0  'Transparent
      Caption         =   "学院:"
      Height          =   255
      Index           =   3
      Left            =   4560
      TabIndex        =   104
      Top             =   1200
      Width           =   375
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      Height          =   375
      Left            =   120
      TabIndex        =   3
      Top             =   480
      Width           =   1215
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "Label2"
      Height          =   375
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   3375
   End
End
Attribute VB_Name = "frmStartQuery3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdStart_Click()
    Dim mno As String
    mno = txtInput
    If frmQuery.Option1.Value = True Then
        Data1.Recordset.FindFirst "日期='" & mno & "'"
        If Data1.Recordset.NoMatch = False Then
            frmStartQuery3.Height = 10830
            frmStartQuery3.Width = 10680
        Else
            MsgBox "对不起,没有找到您所查询的日期!", vbExclamation + vbOKOnly
        End If
    End If
    If frmQuery.Option2.Value = True Then
        Data1.Recordset.FindFirst "学院='" & mno & "'"
        If Data1.Recordset.NoMatch = False Then
            frmStartQuery3.Height = 10830
            frmStartQuery3.Width = 10680
        Else
            MsgBox "对不起,没有找到您所查询的学院!", vbExclamation + vbOKOnly
        End If
    End If
End Sub

Private Sub Form_Load()
    frmStartQuery1.Picture = LoadPicture(App.Path + "\picture\中国娃娃1.bmp")
    Data1.DatabaseName = App.Path + "\教师管理系统.mdb"
    If frmQuery.Option1.Value = True Then
        Label1.Caption = "请输入日期:"
    End If
    If frmQuery.Option2.Value = True Then
        Label1.Caption = "请输入学院:"
    End If
    Label2.Caption = "您现在进行的是教师考勤查询!"
End Sub

⌨️ 快捷键说明

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