?? frmquery.frm
字號:
VERSION 5.00
Begin VB.Form frmquery
Caption = "查詢定位"
ClientHeight = 2160
ClientLeft = 60
ClientTop = 345
ClientWidth = 4905
ControlBox = 0 'False
LinkTopic = "Form1"
ScaleHeight = 2160
ScaleWidth = 4905
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 3000
TabIndex = 5
Top = 1320
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "確定"
Height = 375
Left = 840
TabIndex = 2
Top = 1320
Width = 1215
End
Begin VB.ComboBox Combo1
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 840
TabIndex = 1
Text = "Combo1"
Top = 360
Width = 1575
End
Begin VB.TextBox Text1
Height = 330
Left = 3000
TabIndex = 0
Text = "Text1"
Top = 360
Width = 1335
End
Begin VB.Label Label2
Caption = "="
BeginProperty Font
Name = "宋體"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2640
TabIndex = 4
Top = 360
Width = 255
End
Begin VB.Label Label1
Caption = "查詢方式"
Height = 375
Left = 240
TabIndex = 3
Top = 360
Width = 495
End
End
Attribute VB_Name = "frmquery"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1 = "" Then
Exit Sub
End If
frmChildInput.Adodc1.Recordset.Requery
frmChildInput.Adodc1.Refresh
frmChildInput.Adodc1.Recordset.Find " NAME='" & Text1 & "'", , adSearchForward, 0
If frmChildInput.Adodc1.Recordset.EOF Or frmChildInput.Adodc1.Recordset.BOF Then
MsgBox "沒有此記錄", vbOKOnly + vbExclamation
Exit Sub
End If
Unload Me
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -