📄 bklook_view.frm
字号:
VERSION 5.00
Begin VB.Form bklook_view
BorderStyle = 3 'Fixed Dialog
Caption = "历史库查询[选择察看项目]"
ClientHeight = 4500
ClientLeft = 45
ClientTop = 330
ClientWidth = 5460
Icon = "bklook_view.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4500
ScaleWidth = 5460
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command7
Caption = "&6.学分评测明细报表"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 8
Top = 3000
Width = 2295
End
Begin VB.PictureBox Picture1
BackColor = &H00FFE09E&
Height = 4455
Left = 0
Picture = "bklook_view.frx":1272
ScaleHeight = 4395
ScaleWidth = 2835
TabIndex = 6
TabStop = 0 'False
Top = 0
Width = 2895
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "历史库查询"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Index = 1
Left = 150
TabIndex = 9
Top = 750
Width = 2535
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = " 请您选择您要您要进行的操作"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 1095
Left = 120
TabIndex = 7
Top = 1440
Width = 2655
End
Begin VB.Image Image1
Height = 600
Left = 240
Picture = "bklook_view.frx":3B2D6
Stretch = -1 'True
Top = 120
Width = 600
End
Begin VB.Shape Shape1
BorderColor = &H000000FF&
BorderWidth = 2
Height = 15
Left = 120
Top = 1200
Width = 2175
End
Begin VB.Shape Shape2
BorderColor = &H0000FF00&
BorderWidth = 2
Height = 15
Left = 120
Top = 1245
Width = 2055
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "历史库查询"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 375
Index = 0
Left = 120
TabIndex = 10
Top = 720
Width = 2655
End
End
Begin VB.CommandButton Command6
Caption = "退 出(&E)"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 5
Top = 3960
Width = 2295
End
Begin VB.CommandButton Command5
Caption = "&5. 学分总报表"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 4
Top = 2400
Width = 2295
End
Begin VB.CommandButton Command4
Caption = "&4. 学分汇总查询"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 3
Top = 1800
Width = 2295
End
Begin VB.CommandButton Command3
Caption = "&3.学分评测登记察看"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 2
Top = 1200
Width = 2295
End
Begin VB.CommandButton Command2
Caption = "&2. 文化课成绩察看"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 1
Top = 600
Width = 2295
End
Begin VB.CommandButton Command1
Caption = "&1. 学生资料察看"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3120
TabIndex = 0
Top = 0
Width = 2295
End
End
Attribute VB_Name = "bklook_view"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public jj As Integer
Public nn As String
Private Sub Command1_Click()
Dim kk As New bklook_view1
kk.jj = jj
kk.nn = nn
kk.Show 1
End Sub
Private Sub Command2_Click()
Dim kk As New bklook_view2
kk.jj = jj
kk.nn = nn
kk.Show 1
End Sub
Private Sub Command3_Click()
Dim kk As New bklook_view3
kk.jj = jj
kk.nn = nn
kk.Show 1
End Sub
Private Sub Command4_Click()
Dim temp1 As New addyear
temp1.Caption = "请选择学年"
temp1.Label1.Caption = "请选择您查询的学年(&Y)"
temp1.Show 1
If temp1.yesno = False Then Exit Sub
yy = temp1.kk
Set temp1 = Nothing
Dim cc As New ADODB.Recordset
cc.Open "select * from [yc] ", main.connect, 3, 2
If cc.RecordCount = 0 Then Exit Sub
id = cc.Fields(0)
Dim temp2 As New bp1print_msg
temp2.yy = yy
temp2.jj = id
temp2.Show 1
Dim temp3 As New bklook_view4
temp3.nn = nn
temp3.yy = yy
temp3.studentcount = temp2.studentcount
temp3.classcount = temp2.classcount
If temp2.studentcount = 0 Then
MsgBox "没有学生注册在此年级", vbOKOnly Or vbInformation, "提示"
Exit Sub
End If
temp3.Show 1
End Sub
Private Sub Command5_Click()
Dim temp1 As New addyear
temp1.Caption = "请选择学年"
temp1.Label1.Caption = "请选择您查询的学年(&Y)"
temp1.Show 1
If temp1.yesno = False Then Exit Sub
yy = temp1.kk
Dim ffa As New ADODB.Recordset
ffa.Open "select * from [yc]", main.connect, 3, 2
If ffa.RecordCount = 0 Then Exit Sub
kk = ffa.Fields(0)
ffa.Close
ffa.Open "select [xb].[xn]+'系'+[zy].[zyname]+'专业'+[yc].[yna] from [xb],[zy],[yc] where [yc].[zyid]=[zy].[ID] and [zy].[xid]=[xb].[ID]"
If ffa.RecordCount = 0 Then Exit Sub
nn = ffa.Fields(0)
ffa.Close
Dim temp As New bp1print_msg
temp.yy = yy
temp.jj = kk
temp.Show 1
Unload Me
Dim ff As New bp1print_print
ff.nn = nn
ff.yy = yy
ff.studentcount = temp.studentcount
ff.classcount = temp.classcount
If temp.studentcount = 0 Then
MsgBox "没有学生注册在此年级", vbOKOnly Or vbInformation, "提示"
Exit Sub
End If
ff.Show 1
End Sub
Private Sub Command6_Click()
Unload Me
End Sub
Private Sub Command7_Click()
Dim temp1 As New addyear
temp1.Caption = "请选择学年"
temp1.Label1.Caption = "请选择您查询的学年(&Y)"
temp1.Show 1
If temp1.yesno = False Then Exit Sub
yy = temp1.kk
Dim ffa As New ADODB.Recordset
ffa.Open "select * from [yc]", main.connect, 3, 2
If ffa.RecordCount = 0 Then Exit Sub
kk = ffa.Fields(0)
ffa.Close
ffa.Open "select [xb].[xn]+'系'+[zy].[zyname]+'专业'+[yc].[yna] from [xb],[zy],[yc] where [yc].[zyid]=[zy].[ID] and [zy].[xid]=[xb].[ID]"
If ffa.RecordCount = 0 Then Exit Sub
nn = ffa.Fields(0)
ffa.Close
Dim temp As New bp1print_msg
temp.yy = yy
temp.jj = kk
temp.Show 1
Unload Me
Dim ff As New xxprint_pp
ff.nn = nn
ff.yy = yy
ff.studentcount = temp.studentcount
ff.classcount = temp.classcount
If temp.studentcount = 0 Then
MsgBox "没有学生注册在此年级", vbOKOnly Or vbInformation, "提示"
Exit Sub
End If
ff.Show 1
End Sub
Private Sub Form_Load()
Label1.Caption = nn
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -