📄 form9.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form Form9
Caption = "统计学生选课"
ClientHeight = 4770
ClientLeft = 60
ClientTop = 345
ClientWidth = 6840
LinkTopic = "Form9"
ScaleHeight = 4770
ScaleWidth = 6840
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "返回"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3840
TabIndex = 2
Top = 3600
Width = 1335
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 1560
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 4320
Visible = 0 'False
Width = 3735
End
Begin VB.CommandButton Command1
Caption = "显示"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1560
TabIndex = 1
Top = 3600
Width = 1335
End
Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1
Height = 2775
Left = 720
TabIndex = 0
Top = 360
Width = 5415
_ExtentX = 9551
_ExtentY = 4895
_Version = 393216
Cols = 3
FixedCols = 0
GridLines = 2
End
End
Attribute VB_Name = "Form9"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
'显示相关数据
Data1.DatabaseName = App.Path & "\db1.mdb"
Data1.RecordSource = "select 选课表.学号,课程信息.课程名,课程信息.任课老师 from 选课表,课程信息 where 选课表.课程号=课程信息.课程号"
Data1.Refresh
End Sub
Private Sub Command2_Click()
Form5.Show
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -