📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "显示数据表的内容"
ClientHeight = 1800
ClientLeft = 60
ClientTop = 345
ClientWidth = 6285
LinkTopic = "Form1"
ScaleHeight = 1800
ScaleWidth = 6285
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 255
Left = 3840
TabIndex = 0
Top = 960
Width = 1335
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim path As String
path = App.path
If Right(mpath, 1) <> "\" Then path = path + "\"
Form2.Data1.DatabaseName = "student.mdb"
Form2.Data1.RecordSource = "基本情况表"
Form2.Show
Unload Form1
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -