📄 dataenvironment1.dsr
字号:
VERSION 5.00
Begin {C0E45035-5775-11D0-B388-00A0C9055D8E} DataEnvironment1
ClientHeight = 7500
ClientLeft = 0
ClientTop = 0
ClientWidth = 3330
_ExtentX = 5874
_ExtentY = 13229
FolderFlags = 5
TypeLibGuid = "{180A7686-B0F0-482D-B8AB-706728B98E53}"
TypeInfoGuid = "{2AFB836B-604B-453B-9F0D-845B58DA7034}"
TypeInfoCookie = 0
Version = 4
NumConnections = 2
BeginProperty Connection1
ConnectionName = "Connection1"
ConnDispId = 1001
SourceOfData = 3
ConnectionSource= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\住房管理系统\Data\basicinfo.mdb;Persist Security Info=False"
Expanded = -1 'True
QuoteChar = 96
SeparatorChar = 46
EndProperty
BeginProperty Connection2
ConnectionName = "Connection2"
ConnDispId = 1030
SourceOfData = 3
ConnectionSource= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\住房管理系统\Data\applyinfo.mdb;Persist Security Info=False"
Expanded = -1 'True
QuoteChar = 96
SeparatorChar = 46
EndProperty
NumRecordsets = 4
BeginProperty Recordset1
CommandName = "Command1"
CommDispId = 1002
RsDispId = 1049
CommandText = "SELECT id,name, birth FROM host where livedgr=1 and married=yes"
ActiveConnectionName= "Connection1"
CommandType = 1
GrandTotal = "GrandTotal1"
Expanded = -1 'True
IsRSReturning = -1 'True
NumFields = 3
BeginProperty Field1
Precision = 0
Size = 4
Scale = 0
Type = 202
Name = "id"
Caption = "id"
EndProperty
BeginProperty Field2
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "name"
Caption = "name"
EndProperty
BeginProperty Field3
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "birth"
Caption = "birth"
EndProperty
NumGroups = 0
ParamCount = 0
RelationCount = 0
AggregateCount = 0
EndProperty
BeginProperty Recordset2
CommandName = "Command2"
CommDispId = 1019
RsDispId = 1043
CommandText = "select id,name,livedgr from host where (zc=""教授"" or zc=""副教授"") and livedgr<6"
ActiveConnectionName= "Connection1"
CommandType = 1
Expanded = -1 'True
IsRSReturning = -1 'True
NumFields = 3
BeginProperty Field1
Precision = 0
Size = 4
Scale = 0
Type = 202
Name = "id"
Caption = "id"
EndProperty
BeginProperty Field2
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "name"
Caption = "name"
EndProperty
BeginProperty Field3
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "livedgr"
Caption = "livedgr"
EndProperty
NumGroups = 0
ParamCount = 0
RelationCount = 0
AggregateCount = 0
EndProperty
BeginProperty Recordset3
CommandName = "Command3"
CommDispId = 1024
RsDispId = 1050
CommandText = "select id,name,livedgr from host where xl=""博士"" and livedgr<3"
ActiveConnectionName= "Connection1"
CommandType = 1
Expanded = -1 'True
IsRSReturning = -1 'True
NumFields = 3
BeginProperty Field1
Precision = 0
Size = 4
Scale = 0
Type = 202
Name = "id"
Caption = "id"
EndProperty
BeginProperty Field2
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "name"
Caption = "name"
EndProperty
BeginProperty Field3
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "livedgr"
Caption = "livedgr"
EndProperty
NumGroups = 0
ParamCount = 0
RelationCount = 0
AggregateCount = 0
EndProperty
BeginProperty Recordset4
CommandName = "Command4"
CommDispId = 1044
RsDispId = 1048
CommandText = "select * from 1 order by zf desc"
ActiveConnectionName= "Connection2"
CommandType = 1
Expanded = -1 'True
IsRSReturning = -1 'True
NumFields = 12
BeginProperty Field1
Precision = 0
Size = 4
Scale = 0
Type = 202
Name = "id"
Caption = "id"
EndProperty
BeginProperty Field2
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "name"
Caption = "name"
EndProperty
BeginProperty Field3
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "zc"
Caption = "zc"
EndProperty
BeginProperty Field4
Precision = 0
Size = 8
Scale = 0
Type = 7
Name = "birth"
Caption = "birth"
EndProperty
BeginProperty Field5
Precision = 0
Size = 8
Scale = 0
Type = 7
Name = "workdate"
Caption = "workdate"
EndProperty
BeginProperty Field6
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "xl"
Caption = "xl"
EndProperty
BeginProperty Field7
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "livedgr"
Caption = "livedgr"
EndProperty
BeginProperty Field8
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "zcf"
Caption = "zcf"
EndProperty
BeginProperty Field9
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "glf"
Caption = "glf"
EndProperty
BeginProperty Field10
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "nlf"
Caption = "nlf"
EndProperty
BeginProperty Field11
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "xlf"
Caption = "xlf"
EndProperty
BeginProperty Field12
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "zf"
Caption = "zf"
EndProperty
NumGroups = 0
ParamCount = 0
RelationCount = 0
AggregateCount = 0
EndProperty
End
Attribute VB_Name = "DataEnvironment1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub DataEnvironment_Initialize()
DataEnvironment1.Connection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" & App.Path & "\data\basicinfo.db"
DataEnvironment1.Connection2.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=" & App.Path & "\data\applyinfo.db"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -