📄 dataenv.dsr
字号:
VERSION 5.00
Begin {C0E45035-5775-11D0-B388-00A0C9055D8E} DataEnv
ClientHeight = 10020
ClientLeft = 0
ClientTop = 0
ClientWidth = 11280
_ExtentX = 19897
_ExtentY = 17674
FolderFlags = 5
TypeLibGuid = "{4B1CB929-DE99-49FA-BB9C-E1AECBD3F7DA}"
TypeInfoGuid = "{933B53C7-A5BB-4635-80A8-4E244ECD295B}"
TypeInfoCookie = 0
Version = 4
NumConnections = 1
BeginProperty Connection1
ConnectionName = "Con"
ConnDispId = 1001
SourceOfData = 3
ConnectionSource= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\vbprograms\珠海卡路约翰会员管理系统\DATA.MDB;Persist Security Info=False"
Expanded = -1 'True
QuoteChar = 96
SeparatorChar = 46
EndProperty
NumRecordsets = 2
BeginProperty Recordset1
CommandName = "rtpcommand"
CommDispId = 1003
RsDispId = 1007
CommandText = "userlist"
ActiveConnectionName= "Con"
CommandType = 2
dbObjectType = 1
IsRSReturning = -1 'True
NumFields = 10
BeginProperty Field1
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "id"
Caption = "id"
EndProperty
BeginProperty Field2
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "username"
Caption = "username"
EndProperty
BeginProperty Field3
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "sex"
Caption = "sex"
EndProperty
BeginProperty Field4
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "usercode"
Caption = "usercode"
EndProperty
BeginProperty Field5
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "tel"
Caption = "tel"
EndProperty
BeginProperty Field6
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "allxf"
Caption = "allxf"
EndProperty
BeginProperty Field7
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "lastxf"
Caption = "lastxf"
EndProperty
BeginProperty Field8
Precision = 0
Size = 8
Scale = 0
Type = 7
Name = "adddate"
Caption = "adddate"
EndProperty
BeginProperty Field9
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "cardno"
Caption = "cardno"
EndProperty
BeginProperty Field10
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "cardtype"
Caption = "cardtype"
EndProperty
NumGroups = 0
ParamCount = 0
RelationCount = 0
AggregateCount = 0
EndProperty
BeginProperty Recordset2
CommandName = "xfcommand"
CommDispId = 1008
RsDispId = 1023
CommandText = "xflist"
ActiveConnectionName= "Con"
CommandType = 2
dbObjectType = 1
IsRSReturning = -1 'True
NumFields = 6
BeginProperty Field1
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "auto_id"
Caption = "auto_id"
EndProperty
BeginProperty Field2
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "id"
Caption = "id"
EndProperty
BeginProperty Field3
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "cardno"
Caption = "cardno"
EndProperty
BeginProperty Field4
Precision = 7
Size = 4
Scale = 0
Type = 4
Name = "xf"
Caption = "xf"
EndProperty
BeginProperty Field5
Precision = 0
Size = 8
Scale = 0
Type = 7
Name = "xftime"
Caption = "xftime"
EndProperty
BeginProperty Field6
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "username"
Caption = "username"
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()
'根据目录所在的位置,改变ADO所使用的的连接字符串
Dim strConn As String
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Password=;Data Source="
'使用相对路径
strConn = strConn & App.Path & "\DATA.mdb" & ";Persist Security Info=True"
Con.ConnectionString = strConn
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -