?? duzhe_student.frm
字號:
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"
Begin VB.Form duzhe_student
BorderStyle = 3 'Fixed Dialog
Caption = "借書信息"
ClientHeight = 6765
ClientLeft = 45
ClientTop = 435
ClientWidth = 9345
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6765
ScaleWidth = 9345
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton ref
Caption = "刷新"
Height = 375
Left = 4680
TabIndex = 8
Top = 1920
Width = 1575
End
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 6720
Top = 1920
Width = 1695
_ExtentX = 2990
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=圖書館管理系統.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=圖書館管理系統.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "借閱數據表"
Caption = "Adodc1"
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 VB.Frame Frame1
Caption = "讀者借閱信息"
Height = 3375
Left = 360
TabIndex = 6
Top = 2640
Width = 8295
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "duzhe_student.frx":0000
Height = 3015
Left = 120
TabIndex = 7
Top = 240
Width = 8055
_ExtentX = 14208
_ExtentY = 5318
_Version = 393216
AllowUpdate = 0 'False
HeadLines = 1
RowHeight = 15
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 = 2
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
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
End
Begin VB.ComboBox Combo1
Height = 300
Left = 2160
TabIndex = 3
Text = "———請選擇———"
Top = 1200
Width = 2175
End
Begin VB.TextBox Text1
Height = 375
Left = 600
TabIndex = 2
Top = 1800
Width = 3615
End
Begin VB.CommandButton Command1
Caption = "快搜"
Height = 375
Left = 4680
TabIndex = 1
Top = 1200
Width = 1575
End
Begin VB.CommandButton Command2
Caption = "清除"
Height = 375
Left = 6720
TabIndex = 0
Top = 1200
Width = 1695
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "借書信息搜索"
BeginProperty Font
Name = "幼圓"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 840
TabIndex = 5
Top = 480
Width = 1350
End
Begin VB.Line Line1
X1 = 600
X2 = 8520
Y1 = 840
Y2 = 840
End
Begin VB.Label Label1
Caption = "搜索條件"
Height = 255
Left = 600
TabIndex = 4
Top = 1200
Width = 1095
End
End
Attribute VB_Name = "duzhe_student"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Adodc1.Recordset.Filter = ""
Set DataGrid1.DataSource = Adodc1.Recordset
Dim sou As String
sou = Combo2.Text & "='" & Text5.Text & "'"
Adodc1.Recordset.Filter = sou
If Adodc1.Recordset.EOF = False Then
Set DataGrid1.DataSource = Adodc1.Recordset
Else
MsgBox "沒有您要找的信息"
End If
End Sub
Private Sub Command2_Click()
Text1.Text = ""
End Sub
Private Sub Form_Load()
Combo1.AddItem "學號"
Combo1.AddItem "借閱證號"
Combo1.AddItem "姓名"
Combo1.AddItem "系別"
Combo1.AddItem "班級"
Adodc1.Refresh
End Sub
Private Sub Label6_Click()
End Sub
Private Sub ref_Click()
Adodc1.Recordset.Filter = ""
Set DataGrid1.DataSource = Adodc1.Recordset
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -