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

📄 专业限制条件窗体.frm

📁 学校排课管理系统 科目的查询
💻 FRM
📖 第 1 页 / 共 3 页
字号:
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   255
         Left            =   4520
         TabIndex        =   5
         Top             =   1440
         Width           =   1695
      End
      Begin VB.CheckBox Chk43 
         BackColor       =   &H00FFC0C0&
         Caption         =   "周四第三节"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   255
         Left            =   4520
         TabIndex        =   4
         Top             =   3360
         Width           =   1695
      End
      Begin VB.CheckBox Chk33 
         BackColor       =   &H00FFC0C0&
         Caption         =   "周三第三节"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   255
         Left            =   4520
         TabIndex        =   3
         Top             =   2400
         Width           =   1695
      End
      Begin VB.CheckBox Chk13 
         BackColor       =   &H00FFC0C0&
         Caption         =   "周一第三节"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   255
         Left            =   4520
         TabIndex        =   2
         Top             =   480
         Width           =   1695
      End
   End
   Begin MSDataGridLib.DataGrid DataGrid1 
      Bindings        =   "专业限制条件窗体.frx":0000
      Height          =   5415
      Left            =   8880
      TabIndex        =   22
      Top             =   2640
      Width           =   6255
      _ExtentX        =   11033
      _ExtentY        =   9551
      _Version        =   393216
      AllowUpdate     =   -1  'True
      ForeColor       =   12582912
      HeadLines       =   1
      RowHeight       =   27
      FormatLocked    =   -1  'True
      BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "隶书"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   18
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Caption         =   "专业名称与编号表"
      ColumnCount     =   2
      BeginProperty Column00 
         DataField       =   "majorid"
         Caption         =   "专业编号"
         BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
            Type            =   0
            Format          =   ""
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
      EndProperty
      BeginProperty Column01 
         DataField       =   "majorname"
         Caption         =   "专业名称"
         BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
            Type            =   0
            Format          =   ""
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
      EndProperty
      SplitCount      =   1
      BeginProperty Split0 
         BeginProperty Column00 
            ColumnWidth     =   1844.787
         EndProperty
         BeginProperty Column01 
            ColumnWidth     =   4080.189
         EndProperty
      EndProperty
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   0
      Top             =   0
      Visible         =   0   'False
      Width           =   3015
      _ExtentX        =   5318
      _ExtentY        =   582
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   1
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\basic.mdb;Persist Security Info=False"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\basic.mdb;Persist Security Info=False"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "select majorid,majorname from major order by majorid"
      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.Label Label2 
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFF00&
      Height          =   615
      Left            =   6600
      TabIndex        =   26
      Top             =   360
      Width           =   4815
   End
   Begin VB.Label label1 
      BackStyle       =   0  'Transparent
      Caption         =   "专业编号:"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   36
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00800000&
      Height          =   975
      Left            =   720
      TabIndex        =   23
      Top             =   960
      Width           =   3975
   End
End
Attribute VB_Name = "Frmmajorlimit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim db As DAO.Database
Dim rstmajorcourse As DAO.Recordset
Dim rstclass As DAO.Recordset
Dim rstclasscourse As DAO.Recordset
Dim dbcourse As DAO.Database
Option Explicit



Private Sub Cmdedit_Click()
Set rstmajorcourse = dbcourse.OpenRecordset("select * from coursemajor")
rstmajorcourse.Filter = "majorid='" & Txtmajorid.Text & "'"
Set rstmajorcourse = rstmajorcourse.OpenRecordset()
Label2.Caption = "系统正在处理数据,请稍等"
If Chk11.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("11") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("11") = "1"
    rstmajorcourse.Update
End If
If Chk12.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("12") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("12") = "1"
    rstmajorcourse.Update
End If
If Chk13.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("13") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("13") = "1"
    rstmajorcourse.Update
End If
If Chk14.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("14") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("14") = "1"
    rstmajorcourse.Update
End If
If Chk21.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("21") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("21") = "1"
    rstmajorcourse.Update
End If
If Chk22.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("22") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("22") = "1"
    rstmajorcourse.Update
End If
If Chk23.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("23") = "a"
    rstmajorcourse.Update
 Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("23") = "1"
    rstmajorcourse.Update
End If
If Chk24.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("24") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("24") = "1"
    rstmajorcourse.Update
End If
If Chk31.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("31") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("31") = "1"
    rstmajorcourse.Update
End If
If Chk32.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("32") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("32") = "1"
    rstmajorcourse.Update
End If
If Chk33.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("33") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("33") = "1"
    rstmajorcourse.Update
End If
If Chk34.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("34") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("34") = "1"
    rstmajorcourse.Update
End If
If Chk41.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("41") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("41") = "1"
    rstmajorcourse.Update
    End If
If Chk42.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("42") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("42") = "1"
    rstmajorcourse.Update
End If
If Chk43.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("43") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("43") = "1"
    rstmajorcourse.Update
End If
If Chk44.Value = 1 Then
    rstmajorcourse.edit
    rstmajorcourse.Fields("44") = "a"
    rstmajorcourse.Update
Else
    rstmajorcourse.edit
    rstmajorcourse.Fields("44") = "1"
    rstmajorcourse.Update
End If
If Chk51.Value = 1 Then
    rstmajorcourse.edit

⌨️ 快捷键说明

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