📄 dataenvironment1.dsr
字号:
VERSION 5.00
Begin {C0E45035-5775-11D0-B388-00A0C9055D8E} DataEnvironment1
ClientHeight = 6990
ClientLeft = 0
ClientTop = 0
ClientWidth = 7815
_ExtentX = 13785
_ExtentY = 12330
FolderFlags = 7
TypeLibGuid = "{A610B5FD-3054-429E-9788-3C9CE0C1FD64}"
TypeInfoGuid = "{E177AA6C-91AE-4A7E-91BF-8B761B8032B5}"
TypeInfoCookie = 0
Version = 4
NumConnections = 1
BeginProperty Connection1
ConnectionName = "Connection1"
ConnDispId = 1001
SourceOfData = 3
ConnectionSource= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=K:\bysj最新\db1.mdb;Persist Security Info=False"
Expanded = -1 'True
QuoteChar = 96
SeparatorChar = 46
EndProperty
NumRecordsets = 3
BeginProperty Recordset1
CommandName = "销售报表"
CommDispId = 1002
RsDispId = 1027
CommandText = "销售查询"
ActiveConnectionName= "Connection1"
CommandType = 2
dbObjectType = 2
Expanded = -1 'True
IsRSReturning = -1 'True
NumFields = 5
BeginProperty Field1
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "商品名称"
Caption = "商品名称"
EndProperty
BeginProperty Field2
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "count"
Caption = "count"
EndProperty
BeginProperty Field3
Precision = 19
Size = 8
Scale = 0
Type = 6
Name = "price"
Caption = "price"
EndProperty
BeginProperty Field4
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "type"
Caption = "type"
EndProperty
BeginProperty Field5
Precision = 0
Size = 8
Scale = 0
Type = 7
Name = "outdate"
Caption = "outdate"
EndProperty
NumGroups = 0
ParamCount = 0
RelationCount = 0
AggregateCount = 0
EndProperty
BeginProperty Recordset2
CommandName = "库存报表"
CommDispId = 1008
RsDispId = 1019
CommandText = "库存"
ActiveConnectionName= "Connection1"
CommandType = 2
dbObjectType = 2
IsRSReturning = -1 'True
NumFields = 3
BeginProperty Field1
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "商品编号"
Caption = "商品编号"
EndProperty
BeginProperty Field2
Precision = 0
Size = 50
Scale = 0
Type = 202
Name = "商品名称"
Caption = "商品名称"
EndProperty
BeginProperty Field3
Precision = 10
Size = 4
Scale = 0
Type = 3
Name = "库存数量"
Caption = "库存数量"
EndProperty
NumGroups = 0
ParamCount = 0
RelationCount = 0
AggregateCount = 0
EndProperty
BeginProperty Recordset3
CommandName = "Cmduser"
CommDispId = 1020
RsDispId = 1025
CommandText = "登陆"
ActiveConnectionName= "Connection1"
CommandType = 2
dbObjectType = 1
IsRSReturning = -1 'True
NumFields = 2
BeginProperty Field1
Precision = 0
Size = 8
Scale = 0
Type = 202
Name = "用户名"
Caption = "用户名"
EndProperty
BeginProperty Field2
Precision = 0
Size = 6
Scale = 0
Type = 202
Name = "密码"
Caption = "密码"
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()
Connection1.ConnectionString = App.Path + "\db1.mdb"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -