📄 form7.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "msflxgrd.ocx"
Begin VB.Form Form7
Caption = "著作登记表查询"
ClientHeight = 4875
ClientLeft = 60
ClientTop = 450
ClientWidth = 6765
LinkTopic = "Form7"
ScaleHeight = 4875
ScaleWidth = 6765
StartUpPosition = 3 '窗口缺省
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = "C:\Documents and Settings\518\桌面\新建文件夹 (2)\东.mdb"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 735
Left = 720
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "著作登记表"
Top = 3960
Width = 3975
End
Begin VB.CommandButton Command2
Caption = "返回"
Height = 855
Left = 4680
TabIndex = 3
Top = 2760
Width = 1575
End
Begin VB.CommandButton Command1
Caption = "查询"
Height = 855
Left = 2640
TabIndex = 2
Top = 2760
Width = 1575
End
Begin VB.TextBox Text1
Height = 735
Left = 480
TabIndex = 1
Top = 2760
Width = 1815
End
Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1
Bindings = "Form7.frx":0000
Height = 2175
Left = 840
TabIndex = 0
Top = 240
Width = 3735
_ExtentX = 6588
_ExtentY = 3836
_Version = 393216
End
End
Attribute VB_Name = "Form7"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Data1.RecordSource = "select * from 著作登记表 where 著作编码 ='" & Text1.Text & "'"
Data1.Refresh
End Sub
Private Sub Command2_Click()
Form3.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -