www.pudn.com > 图书管理系统包括VB,ASP各一份代码.rar > TuShuDengJiZhang.dob
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.UserDocument TuShuDengJiZhang
BackColor = &H80000009&
ClientHeight = 6660
ClientLeft = 0
ClientTop = 0
ClientWidth = 10005
HScrollSmallChange= 225
ScaleHeight = 6660
ScaleWidth = 10005
VScrollSmallChange= 225
Begin TabDlg.SSTab SSTab1
Height = 6615
Left = 60
TabIndex = 0
Top = 60
Width = 9825
_ExtentX = 17330
_ExtentY = 11668
_Version = 393216
TabsPerRow = 6
TabHeight = 520
BackColor = -2147483639
TabCaption(0) = "记帐单"
TabPicture(0) = "TuShuDengJiZhang.dox":0000
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "lblLabels(14)"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "lblLabels(13)"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).Control(2)= "lblLabels(12)"
Tab(0).Control(2).Enabled= 0 'False
Tab(0).Control(3)= "lblLabels(11)"
Tab(0).Control(3).Enabled= 0 'False
Tab(0).Control(4)= "lblLabels(10)"
Tab(0).Control(4).Enabled= 0 'False
Tab(0).Control(5)= "lblLabels(9)"
Tab(0).Control(5).Enabled= 0 'False
Tab(0).Control(6)= "lblLabels(8)"
Tab(0).Control(6).Enabled= 0 'False
Tab(0).Control(7)= "lblLabels(7)"
Tab(0).Control(7).Enabled= 0 'False
Tab(0).Control(8)= "lblLabels(6)"
Tab(0).Control(8).Enabled= 0 'False
Tab(0).Control(9)= "lblLabels(5)"
Tab(0).Control(9).Enabled= 0 'False
Tab(0).Control(10)= "lblLabels(4)"
Tab(0).Control(10).Enabled= 0 'False
Tab(0).Control(11)= "lblLabels(3)"
Tab(0).Control(11).Enabled= 0 'False
Tab(0).Control(12)= "lblLabels(2)"
Tab(0).Control(12).Enabled= 0 'False
Tab(0).Control(13)= "lblLabels(1)"
Tab(0).Control(13).Enabled= 0 'False
Tab(0).Control(14)= "datPrimaryRS"
Tab(0).Control(14).Enabled= 0 'False
Tab(0).Control(15)= "picButtons"
Tab(0).Control(15).Enabled= 0 'False
Tab(0).Control(16)= "txtFields(14)"
Tab(0).Control(16).Enabled= 0 'False
Tab(0).Control(17)= "txtFields(13)"
Tab(0).Control(17).Enabled= 0 'False
Tab(0).Control(18)= "txtFields(12)"
Tab(0).Control(18).Enabled= 0 'False
Tab(0).Control(19)= "txtFields(11)"
Tab(0).Control(19).Enabled= 0 'False
Tab(0).Control(20)= "txtFields(10)"
Tab(0).Control(20).Enabled= 0 'False
Tab(0).Control(21)= "txtFields(9)"
Tab(0).Control(21).Enabled= 0 'False
Tab(0).Control(22)= "txtFields(8)"
Tab(0).Control(22).Enabled= 0 'False
Tab(0).Control(23)= "txtFields(7)"
Tab(0).Control(23).Enabled= 0 'False
Tab(0).Control(24)= "txtFields(6)"
Tab(0).Control(24).Enabled= 0 'False
Tab(0).Control(25)= "txtFields(5)"
Tab(0).Control(25).Enabled= 0 'False
Tab(0).Control(26)= "txtFields(4)"
Tab(0).Control(26).Enabled= 0 'False
Tab(0).Control(27)= "txtFields(3)"
Tab(0).Control(27).Enabled= 0 'False
Tab(0).Control(28)= "txtFields(2)"
Tab(0).Control(28).Enabled= 0 'False
Tab(0).Control(29)= "txtFields(1)"
Tab(0).Control(29).Enabled= 0 'False
Tab(0).ControlCount= 30
TabCaption(1) = "清单"
TabPicture(1) = "TuShuDengJiZhang.dox":001C
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "DataGrid1"
Tab(1).ControlCount= 1
TabCaption(2) = "查询"
TabPicture(2) = "TuShuDengJiZhang.dox":0038
Tab(2).ControlEnabled= 0 'False
Tab(2).Control(0)= "DataGrid2"
Tab(2).Control(1)= "Frame1"
Tab(2).ControlCount= 2
Begin VB.TextBox txtFields
DataField = "日期"
DataSource = "datPrimaryRS"
Height = 285
Index = 1
Left = 1200
TabIndex = 22
Top = 540
Width = 2115
End
Begin VB.TextBox txtFields
DataField = "总号"
DataSource = "datPrimaryRS"
Height = 285
Index = 2
Left = 1200
TabIndex = 21
Top = 960
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "分类号"
DataSource = "datPrimaryRS"
Height = 285
Index = 3
Left = 3660
TabIndex = 20
Top = 960
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "文别"
DataSource = "datPrimaryRS"
Height = 285
Index = 4
Left = 5880
TabIndex = 19
Top = 960
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "密别"
DataSource = "datPrimaryRS"
Height = 285
Index = 5
Left = 8100
TabIndex = 18
Top = 960
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "资料名称"
DataSource = "datPrimaryRS"
Height = 285
Index = 6
Left = 1200
TabIndex = 17
Top = 1380
Width = 8235
End
Begin VB.TextBox txtFields
DataField = "编制单位"
DataSource = "datPrimaryRS"
Height = 285
Index = 7
Left = 1200
TabIndex = 16
Top = 1800
Width = 5535
End
Begin VB.TextBox txtFields
DataField = "编制日期"
DataSource = "datPrimaryRS"
Height = 285
Index = 8
Left = 8100
TabIndex = 15
Top = 1800
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "来源"
DataSource = "datPrimaryRS"
Height = 285
Index = 9
Left = 1200
TabIndex = 14
Top = 2220
Width = 8235
End
Begin VB.TextBox txtFields
DataField = "份数"
DataSource = "datPrimaryRS"
Height = 285
Index = 10
Left = 1200
TabIndex = 13
Top = 5100
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "页数"
DataSource = "datPrimaryRS"
Height = 285
Index = 11
Left = 3660
TabIndex = 12
Top = 5085
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "单价"
DataSource = "datPrimaryRS"
Height = 285
Index = 12
Left = 5880
TabIndex = 11
Top = 5100
Width = 1335
End
Begin VB.TextBox txtFields
DataField = "备注"
DataSource = "datPrimaryRS"
Height = 285
Index = 13
Left = 1200
TabIndex = 10
Top = 5520
Width = 8235
End
Begin VB.TextBox txtFields
DataField = "内容简介"
DataSource = "datPrimaryRS"
Height = 2325
Index = 14
Left = 1200
TabIndex = 9
Top = 2640
Width = 8235
End
Begin VB.PictureBox picButtons
Appearance = 0 'Flat
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 300
Left = 2520
ScaleHeight = 300
ScaleWidth = 4695
TabIndex = 4
Top = 6120
Width = 4695
Begin VB.CommandButton cmdRefresh
Caption = "刷新(&R)"
Height = 300
Left = 3521
TabIndex = 8
Top = 0
Width = 1095
End
Begin VB.CommandButton cmdDelete
Caption = "删除(&D)"
Height = 300
Left = 2367
TabIndex = 7
Top = 0
Width = 1095
End
Begin VB.CommandButton cmdUpdate
Caption = "更新(&U)"
Height = 300
Left = 1213
TabIndex = 6
Top = 0
Width = 1095
End
Begin VB.CommandButton cmdAdd
Caption = "添加(&A)"
Height = 300
Left = 59
TabIndex = 5
Top = 0
Width = 1095
End
End
Begin VB.Frame Frame1
Caption = "查询条件"
Height = 1215
Left = -74820
TabIndex = 1
Top = 480
Width = 9435
Begin VB.TextBox txtFields
Height = 285
Index = 19
Left = 840
TabIndex = 41
Top = 300
Width = 1515
End
Begin VB.TextBox txtFields
Height = 285
Index = 18
Left = 3300
TabIndex = 40
Top = 300
Width = 1515
End
Begin VB.TextBox txtFields
Height = 285
Index = 17
Left = 5940
TabIndex = 39
Top = 300
Width = 1515
End
Begin VB.TextBox txtFields
Height = 285
Index = 16
Left = 840
TabIndex = 38
Top = 720
Width = 1515
End
Begin VB.TextBox txtFields
Height = 285
Index = 15
Left = 3300
TabIndex = 37
Top = 720
Width = 1515
End
Begin VB.CommandButton Command1
Caption = "确定(&O)"
Height = 375
Left = 7980
TabIndex = 2
Top = 480
Width = 1095
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "日期:"
Height = 180
Index = 19
Left = 360
TabIndex = 46
Top = 345
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "总号:"
Height = 180
Index = 18
Left = 2820
TabIndex = 45
Top = 345
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "分类号:"
Height = 180
Index = 17
Left = 5220
TabIndex = 44
Top = 345
Width = 630
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "文别:"
Height = 180
Index = 16
Left = 360
TabIndex = 43
Top = 780
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "密别:"
Height = 180
Index = 15
Left = 2820
TabIndex = 42
Top = 780
Width = 450
End
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "TuShuDengJiZhang.dox":0054
Height = 5955
Left = -74820
TabIndex = 3
Top = 480
Width = 9435
_ExtentX = 16642
_ExtentY = 10504
_Version = 393216
HeadLines = 1
RowHeight = 15
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 15
BeginProperty Column00
DataField = "序号"
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 = "日期"
Caption = "日期"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "总号"
Caption = "总号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "分类号"
Caption = "分类号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "文别"
Caption = "文别"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "密别"
Caption = "密别"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column06
DataField = "资料名称"
Caption = "资料名称"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column07
DataField = "编制单位"
Caption = "编制单位"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column08
DataField = "编制日期"
Caption = "编制日期"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column09
DataField = "来源"
Caption = "来源"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column10
DataField = "份数"
Caption = "份数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column11
DataField = "页数"
Caption = "页数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column12
DataField = "单价"
Caption = "单价"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column13
DataField = "备注"
Caption = "备注"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column14
DataField = "内容简介"
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 = 1094.74
EndProperty
BeginProperty Column01
ColumnWidth = 2085.166
EndProperty
BeginProperty Column02
ColumnWidth = 2085.166
EndProperty
BeginProperty Column03
ColumnWidth = 2085.166
EndProperty
BeginProperty Column04
ColumnWidth = 2085.166
EndProperty
BeginProperty Column05
ColumnWidth = 2085.166
EndProperty
BeginProperty Column06
ColumnWidth = 2085.166
EndProperty
BeginProperty Column07
ColumnWidth = 2085.166
EndProperty
BeginProperty Column08
ColumnWidth = 2085.166
EndProperty
BeginProperty Column09
ColumnWidth = 2085.166
EndProperty
BeginProperty Column10
ColumnWidth = 1094.74
EndProperty
BeginProperty Column11
ColumnWidth = 1094.74
EndProperty
BeginProperty Column12
ColumnWidth = 2085.166
EndProperty
BeginProperty Column13
ColumnWidth = 2085.166
EndProperty
BeginProperty Column14
ColumnWidth = 2085.166
EndProperty
EndProperty
End
Begin MSAdodcLib.Adodc datPrimaryRS
Height = 330
Left = 240
Top = 6120
Visible = 0 'False
Width = 1995
_ExtentX = 3519
_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 = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = " "
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 MSDataGridLib.DataGrid DataGrid2
Bindings = "TuShuDengJiZhang.dox":006F
Height = 4635
Left = -74820
TabIndex = 47
Top = 1800
Width = 9435
_ExtentX = 16642
_ExtentY = 8176
_Version = 393216
HeadLines = 1
RowHeight = 15
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 15
BeginProperty Column00
DataField = "序号"
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 = "日期"
Caption = "日期"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "总号"
Caption = "总号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "分类号"
Caption = "分类号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "文别"
Caption = "文别"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "密别"
Caption = "密别"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column06
DataField = "资料名称"
Caption = "资料名称"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column07
DataField = "编制单位"
Caption = "编制单位"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column08
DataField = "编制日期"
Caption = "编制日期"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column09
DataField = "来源"
Caption = "来源"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column10
DataField = "份数"
Caption = "份数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column11
DataField = "页数"
Caption = "页数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column12
DataField = "单价"
Caption = "单价"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column13
DataField = "备注"
Caption = "备注"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column14
DataField = "内容简介"
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 = 1094.74
EndProperty
BeginProperty Column01
ColumnWidth = 2085.166
EndProperty
BeginProperty Column02
ColumnWidth = 2085.166
EndProperty
BeginProperty Column03
ColumnWidth = 2085.166
EndProperty
BeginProperty Column04
ColumnWidth = 2085.166
EndProperty
BeginProperty Column05
ColumnWidth = 2085.166
EndProperty
BeginProperty Column06
ColumnWidth = 2085.166
EndProperty
BeginProperty Column07
ColumnWidth = 2085.166
EndProperty
BeginProperty Column08
ColumnWidth = 2085.166
EndProperty
BeginProperty Column09
ColumnWidth = 2085.166
EndProperty
BeginProperty Column10
ColumnWidth = 1094.74
EndProperty
BeginProperty Column11
ColumnWidth = 1094.74
EndProperty
BeginProperty Column12
ColumnWidth = 2085.166
EndProperty
BeginProperty Column13
ColumnWidth = 2085.166
EndProperty
BeginProperty Column14
ColumnWidth = 2085.166
EndProperty
EndProperty
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "日期:"
Height = 180
Index = 1
Left = 720
TabIndex = 36
Top = 600
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "总号:"
Height = 180
Index = 2
Left = 720
TabIndex = 35
Top = 1020
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "分类号:"
Height = 180
Index = 3
Left = 2940
TabIndex = 34
Top = 1020
Width = 630
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "文别:"
Height = 180
Index = 4
Left = 5340
TabIndex = 33
Top = 1020
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "密别:"
Height = 180
Index = 5
Left = 7560
TabIndex = 32
Top = 1020
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "资料名称:"
Height = 180
Index = 6
Left = 360
TabIndex = 31
Top = 1440
Width = 810
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "编制单位:"
Height = 180
Index = 7
Left = 360
TabIndex = 30
Top = 1860
Width = 810
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "编制日期:"
Height = 180
Index = 8
Left = 7200
TabIndex = 29
Top = 1860
Width = 810
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "来源:"
Height = 180
Index = 9
Left = 720
TabIndex = 28
Top = 2280
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "份数:"
Height = 180
Index = 10
Left = 660
TabIndex = 27
Top = 5160
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "页数:"
Height = 180
Index = 11
Left = 3120
TabIndex = 26
Top = 5160
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "单价:"
Height = 180
Index = 12
Left = 5340
TabIndex = 25
Top = 5160
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "备注:"
Height = 180
Index = 13
Left = 660
TabIndex = 24
Top = 5580
Width = 450
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "内容简介:"
Height = 180
Index = 14
Left = 300
TabIndex = 23
Top = 2685
Width = 810
End
End
End
Attribute VB_Name = "TuShuDengJiZhang"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Private Sub datPrimaryRS_Error(ByVal ErrorNumber As Long, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, fCancelDisplay As Boolean)
'错误处理程序代码置于此处
'想要忽略错误,注释掉下一行
'想要捕获它们,在此添加代码以处理它们
MsgBox "Data error event hit err:" & Description
End Sub
Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
'为这个 recordset 显示当前记录位置
datPrimaryRS.Caption = "Record: " & CStr(datPrimaryRS.Recordset.AbsolutePosition)
End Sub
Private Sub datPrimaryRS_WillChangeRecord(ByVal adReason As ADODB.EventReasonEnum, ByVal cRecords As Long, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
'验证代码置于此处
'下列动作发生时该事件被调用
Dim bCancel As Boolean
Select Case adReason
Case adRsnAddNew
Case adRsnClose
Case adRsnDelete
Case adRsnFirstChange
Case adRsnMove
Case adRsnRequery
Case adRsnResynch
Case adRsnUndoAddNew
Case adRsnUndoDelete
Case adRsnUndoUpdate
Case adRsnUpdate
End Select
If bCancel Then adStatus = adStatusCancel
End Sub
Private Sub cmdAdd_Click()
On Error GoTo AddErr
datPrimaryRS.Recordset.AddNew
Exit Sub
AddErr:
MsgBox Err.Description
End Sub
Private Sub cmdDelete_Click()
On Error GoTo DeleteErr
With datPrimaryRS.Recordset
.Delete
.MoveNext
If .EOF Then .MoveLast
End With
Exit Sub
DeleteErr:
MsgBox Err.Description
End Sub
Private Sub cmdRefresh_Click()
'只有多用户应用程序需要
On Error GoTo RefreshErr
datPrimaryRS.Refresh
Exit Sub
RefreshErr:
MsgBox Err.Description
End Sub
Private Sub cmdUpdate_Click()
On Error GoTo UpdateErr
datPrimaryRS.Recordset.UpdateBatch adAffectAll
Exit Sub
UpdateErr:
MsgBox Err.Description
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub UserDocument_Initialize()
With datPrimaryRS
.ConnectionString = pConn
.RecordSource = "select 序号,日期,总号,分类号,文别,密别,资料名称,编制单位,编制日期,来源,份数,页数,单价,备注,内容简介 from 图书资料登记帐"
.Refresh
End With
End Sub