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

📄 frmstartquery4.frm

📁 一个管理程序(实用)VB
💻 FRM
📖 第 1 页 / 共 3 页
字号:
         Top             =   720
         Width           =   975
      End
      Begin VB.TextBox txtFields 
         DataField       =   "实习天数2"
         DataSource      =   "Data1"
         Height          =   270
         Index           =   27
         Left            =   5760
         MousePointer    =   99  'Custom
         TabIndex        =   15
         Text            =   " "
         Top             =   1080
         Width           =   975
      End
      Begin VB.Label Label25 
         Caption         =   "班级"
         Height          =   255
         Left            =   120
         TabIndex        =   32
         Top             =   360
         Width           =   375
      End
      Begin VB.Label Label26 
         Caption         =   "班级"
         Height          =   255
         Left            =   120
         TabIndex        =   31
         Top             =   720
         Width           =   375
      End
      Begin VB.Label Label27 
         Caption         =   "班级"
         Height          =   255
         Left            =   120
         TabIndex        =   30
         Top             =   1080
         Width           =   375
      End
      Begin VB.Label Label28 
         Caption         =   "实习地点"
         Height          =   255
         Left            =   2640
         TabIndex        =   29
         Top             =   360
         Width           =   735
      End
      Begin VB.Label Label29 
         Caption         =   "实习地点"
         Height          =   255
         Left            =   2640
         TabIndex        =   28
         Top             =   720
         Width           =   735
      End
      Begin VB.Label Label30 
         Caption         =   "实习地点"
         Height          =   255
         Left            =   2640
         TabIndex        =   27
         Top             =   1080
         Width           =   735
      End
      Begin VB.Label Label31 
         Caption         =   "实习天数"
         Height          =   255
         Left            =   4920
         TabIndex        =   26
         Top             =   360
         Width           =   735
      End
      Begin VB.Label Label32 
         Caption         =   "实习天数"
         Height          =   255
         Left            =   4920
         TabIndex        =   25
         Top             =   720
         Width           =   735
      End
      Begin VB.Label Label33 
         Caption         =   "实习天数"
         Height          =   255
         Left            =   4920
         TabIndex        =   24
         Top             =   1080
         Width           =   735
      End
   End
   Begin VB.TextBox txtFields 
      DataField       =   "备注"
      DataSource      =   "Data1"
      Height          =   735
      Index           =   28
      Left            =   1080
      MousePointer    =   99  'Custom
      TabIndex        =   13
      Text            =   " "
      Top             =   6360
      Width           =   6495
   End
   Begin VB.TextBox txtFields 
      DataField       =   "日期"
      DataSource      =   "Data1"
      Height          =   270
      Index           =   29
      Left            =   7560
      MousePointer    =   99  'Custom
      TabIndex        =   12
      Text            =   " "
      Top             =   1200
      Width           =   1575
   End
   Begin VB.Frame Frame3 
      Caption         =   "工作量"
      Height          =   4335
      Left            =   7800
      TabIndex        =   7
      Top             =   1560
      Width           =   1455
      Begin VB.TextBox txtFields 
         DataField       =   "工作量1"
         DataSource      =   "Data1"
         Height          =   390
         Index           =   38
         Left            =   120
         MousePointer    =   99  'Custom
         TabIndex        =   9
         Text            =   " "
         Top             =   3600
         Width           =   495
      End
      Begin VB.TextBox txtFields 
         DataField       =   "工作量"
         DataSource      =   "Data1"
         Height          =   390
         Index           =   39
         Left            =   120
         MousePointer    =   99  'Custom
         TabIndex        =   8
         Text            =   " "
         Top             =   1920
         Width           =   495
      End
      Begin VB.Label Label45 
         Caption         =   "小时"
         Height          =   255
         Left            =   720
         TabIndex        =   11
         Top             =   2040
         Width           =   375
      End
      Begin VB.Label Label46 
         Caption         =   "小时"
         Height          =   255
         Left            =   720
         TabIndex        =   10
         Top             =   3720
         Width           =   375
      End
   End
   Begin VB.Frame Frame4 
      Caption         =   "工作量小计"
      Height          =   975
      Left            =   7800
      TabIndex        =   4
      Top             =   6120
      Width           =   1455
      Begin VB.TextBox txtFields 
         DataField       =   "工作量小计"
         DataSource      =   "Data1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   14.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   390
         Index           =   40
         Left            =   120
         MousePointer    =   99  'Custom
         TabIndex        =   5
         Text            =   " "
         Top             =   480
         Width           =   495
      End
      Begin VB.Label Label47 
         Caption         =   "小时"
         Height          =   255
         Left            =   840
         TabIndex        =   6
         Top             =   600
         Width           =   375
      End
   End
   Begin VB.Data Data1 
      Caption         =   " "
      Connect         =   "Access"
      DatabaseName    =   "D:\千万不要删,求求大家了\吕昕\毕业设计\教师管理系统.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   345
      Left            =   4800
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "实验实习"
      Top             =   600
      Width           =   3495
   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           =   11
      Left            =   360
      TabIndex        =   95
      Top             =   6600
      Width           =   405
   End
   Begin VB.Line Line3 
      BorderStyle     =   3  'Dot
      X1              =   120
      X2              =   9240
      Y1              =   6000
      Y2              =   6000
   End
   Begin VB.Label Label48 
      BackStyle       =   0  'Transparent
      Caption         =   "姓名"
      Height          =   255
      Left            =   240
      TabIndex        =   94
      Top             =   1200
      Width           =   375
   End
   Begin VB.Label Label3 
      BackStyle       =   0  'Transparent
      Caption         =   "编号"
      Height          =   255
      Left            =   2160
      TabIndex        =   93
      Top             =   1200
      Width           =   375
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      Caption         =   "学院"
      Height          =   255
      Left            =   4440
      TabIndex        =   92
      Top             =   1200
      Width           =   375
   End
   Begin VB.Label Label34 
      BackStyle       =   0  'Transparent
      Caption         =   "日期"
      Height          =   255
      Left            =   6960
      TabIndex        =   91
      Top             =   1200
      Width           =   375
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "Label1"
      Height          =   375
      Left            =   120
      TabIndex        =   3
      Top             =   600
      Width           =   1095
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "Label2"
      Height          =   375
      Left            =   120
      TabIndex        =   2
      Top             =   0
      Width           =   3495
   End
End
Attribute VB_Name = "frmStartQuery4"
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.Option3.Value = True Then
        Data1.Recordset.FindFirst "姓名='" & mno & "'"
        If Data1.Recordset.NoMatch = False Then
            frmStartQuery4.Height = 7695
            frmStartQuery4.Width = 9480
        Else
            MsgBox "对不起,没有您所查询姓名的记录!", vbExclamation + vbOKOnly
        End If
    End If
    If frmQuery.Option4.Value = True Then
        Data1.Recordset.FindFirst "编号='" & mno & "'"
        If Data1.Recordset.NoMatch = False Then
            frmStartQuery4.Height = 7695
            frmStartQuery4.Width = 9480
        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.Option3.Value = True Then
        Label1.Caption = "请输入姓名:"
    End If
    If frmQuery.Option4.Value = True Then
        Label1.Caption = "请输入编号:"
    End If
    Label2.Caption = "您现在进行的是教师实验实习工作查询!"
End Sub

⌨️ 快捷键说明

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