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

📄 dataenv.dsr

📁 该系统的最终用户是访问本系统的工作人员
💻 DSR
字号:
VERSION 5.00
Begin {C0E45035-5775-11D0-B388-00A0C9055D8E} DataEnv 
   ClientHeight    =   9825
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   10650
   _ExtentX        =   18785
   _ExtentY        =   17330
   FolderFlags     =   1
   TypeLibGuid     =   "{9635F3E2-86EE-49D6-A419-195FA6884169}"
   TypeInfoGuid    =   "{2A629303-BCAA-426A-A9CE-3EE60F4E888C}"
   TypeInfoCookie  =   0
   Version         =   4
   NumConnections  =   1
   BeginProperty Connection1 
      ConnectionName  =   "Conn"
      ConnDispId      =   1001
      SourceOfData    =   3
      ConnectionSource=   "Provider=Microsoft.Jet.OLEDB.4.0;Password="""";Data Source=D:\学生寝室卫生检查管理系统\stu_data.mdb;Persist Security Info=True"
      Expanded        =   -1  'True
      QuoteChar       =   96
      SeparatorChar   =   46
   EndProperty
   NumRecordsets   =   2
   BeginProperty Recordset1 
      CommandName     =   "sqlSeek"
      CommDispId      =   1002
      RsDispId        =   1005
      CommandText     =   "select * from room_num"
      ActiveConnectionName=   "Conn"
      CommandType     =   1
      IsRSReturning   =   -1  'True
      NumFields       =   6
      BeginProperty Field1 
         Precision       =   0
         Size            =   5
         Scale           =   0
         Type            =   202
         Name            =   "栋号"
         Caption         =   "栋号"
      EndProperty
      BeginProperty Field2 
         Precision       =   0
         Size            =   6
         Scale           =   0
         Type            =   202
         Name            =   "寝室号"
         Caption         =   "寝室号"
      EndProperty
      BeginProperty Field3 
         Precision       =   0
         Size            =   30
         Scale           =   0
         Type            =   202
         Name            =   "学院"
         Caption         =   "学院"
      EndProperty
      BeginProperty Field4 
         Precision       =   0
         Size            =   10
         Scale           =   0
         Type            =   202
         Name            =   "寝室长"
         Caption         =   "寝室长"
      EndProperty
      BeginProperty Field5 
         Precision       =   0
         Size            =   40
         Scale           =   0
         Type            =   202
         Name            =   "成员"
         Caption         =   "成员"
      EndProperty
      BeginProperty Field6 
         Precision       =   0
         Size            =   12
         Scale           =   0
         Type            =   202
         Name            =   "电话"
         Caption         =   "电话"
      EndProperty
      NumGroups       =   0
      ParamCount      =   0
      RelationCount   =   0
      AggregateCount  =   0
   EndProperty
   BeginProperty Recordset2 
      CommandName     =   "Com2"
      CommDispId      =   1006
      RsDispId        =   1008
      CommandText     =   "room_num"
      ActiveConnectionName=   "Conn"
      CommandType     =   2
      dbObjectType    =   1
      IsRSReturning   =   -1  'True
      NumFields       =   6
      BeginProperty Field1 
         Precision       =   0
         Size            =   5
         Scale           =   0
         Type            =   202
         Name            =   "栋号"
         Caption         =   "栋号"
      EndProperty
      BeginProperty Field2 
         Precision       =   0
         Size            =   6
         Scale           =   0
         Type            =   202
         Name            =   "寝室号"
         Caption         =   "寝室号"
      EndProperty
      BeginProperty Field3 
         Precision       =   0
         Size            =   30
         Scale           =   0
         Type            =   202
         Name            =   "学院"
         Caption         =   "学院"
      EndProperty
      BeginProperty Field4 
         Precision       =   0
         Size            =   10
         Scale           =   0
         Type            =   202
         Name            =   "寝室长"
         Caption         =   "寝室长"
      EndProperty
      BeginProperty Field5 
         Precision       =   0
         Size            =   40
         Scale           =   0
         Type            =   202
         Name            =   "成员"
         Caption         =   "成员"
      EndProperty
      BeginProperty Field6 
         Precision       =   0
         Size            =   12
         Scale           =   0
         Type            =   202
         Name            =   "电话"
         Caption         =   "电话"
      EndProperty
      NumGroups       =   0
      ParamCount      =   0
      RelationCount   =   0
      AggregateCount  =   0
   EndProperty
End
Attribute VB_Name = "DataEnv"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DataEnvironment_Initialize()
   Dim strConn As String
   strConn = "provider=Microsoft.Jet.LOEDB.4.0;password=; Data Source=" & App.Path & "\stu_data.mdb" & "; persist security info=true"
   Conn.ConnectionString = strConn
End Sub

Private Sub rsCom1_WillChangeField(ByVal cFields As Long, ByVal Fields As Variant, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)

End Sub

⌨️ 快捷键说明

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