?? h_f3_bhg.frm
字號:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form f3_bhg
BorderStyle = 1 'Fixed Single
Caption = "輸入書籍編號"
ClientHeight = 1500
ClientLeft = 45
ClientTop = 435
ClientWidth = 3705
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1500
ScaleWidth = 3705
StartUpPosition = 2 '屏幕中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 2160
Top = 1200
Visible = 0 'False
Width = 1200
_ExtentX = 2117
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
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 = "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.CommandButton Command3
Caption = "確 定"
Height = 375
Left = 2160
TabIndex = 3
Top = 840
Width = 735
End
Begin VB.CommandButton Command1
Caption = "返 回"
Height = 375
Left = 720
TabIndex = 2
Top = 840
Width = 735
End
Begin VB.TextBox Text1
Height = 375
Left = 1800
TabIndex = 1
Text = "1"
Top = 240
Width = 1575
End
Begin VB.Label Label1
Caption = "輸入書籍編號"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 360
TabIndex = 0
Top = 360
Width = 1335
End
End
Attribute VB_Name = "f3_bhg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
main.Show
main.Enabled = True
Unload Me
End Sub
Private Sub Command3_Click()
Adodc1.RecordSource = "select * from wanb where wanb.handled=1 and wanb.dealed=0 and wanb.wanted_book_ID='" & Text1 & "'"
Adodc1.Refresh
If Adodc1.Recordset.RecordCount = 0 Then
MsgBox "對不起,目前沒有您需要的書籍", , "結果"
Text1 = ""
Text1.SetFocus
Exit Sub
End If
sbid = Text1
f1_tjddg.Show
Unload Me
End Sub
Private Sub Form_Load()
Adodc1.ConnectionString = cns1 & App.Path & cns2
Text1 = ""
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -