📄 backupss_msg.frm
字号:
VERSION 5.00
Begin VB.Form backupss_msg
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 2250
ClientLeft = 0
ClientTop = 0
ClientWidth = 4845
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 150
ScaleMode = 3 'Pixel
ScaleWidth = 323
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command3
Enabled = 0 'False
Height = 255
Left = 4590
TabIndex = 5
Top = 0
Width = 255
End
Begin VB.CommandButton Command2
Caption = ":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::"
Enabled = 0 'False
Height = 255
Left = 255
TabIndex = 4
Top = 0
Width = 4335
End
Begin VB.CommandButton Command1
Enabled = 0 'False
Height = 255
Left = 0
TabIndex = 3
Top = 0
Width = 255
End
Begin VB.Frame Frame1
Height = 2055
Left = 0
TabIndex = 0
Top = 180
Width = 4815
Begin VB.Timer Timer1
Interval = 100
Left = 3240
Top = 1440
End
Begin VB.Label Label2
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Please Waiting form a monement..."
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 240
TabIndex = 1
Top = 480
Width = 4215
End
Begin VB.Label Label1
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Please Waiting form a monement..."
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 855
Left = 220
TabIndex = 2
Top = 460
Width = 4215
End
End
End
Attribute VB_Name = "backupss_msg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public nn As String
Public jj As Integer
Sub settext(tt As String)
Label1.Caption = tt
Label2.Caption = tt
DoEvents
End Sub
Private Sub Timer1_Timer()
Call settext("正在删除数据库中的学分登记记录")
main.connect.Execute "Delete from [jc] where [stid] in ( select [ID] from [student] where [clasid] in (select [ID] from [class] where [yid]=" & jj & "))"
Call settext("正在删除数据库中的文化课登记记录")
main.connect.Execute "Delete from [wf] where [stid] in ( select [ID] from [student] where [clasid] in (select [ID] from [class] where [yid]=" & jj & "))"
Call settext("正在删除数据库中的学生登记记录")
main.connect.Execute "Delete from [student] where [clasid] in (select [ID] from [class] where [yid]=" & jj & ")"
Call settext("正在删除数据库中的班级登记")
main.connect.Execute "Delete from [class] where [yid]=" & jj
Call settext("正在删除数据库中的年级登记")
main.connect.Execute "Delete from [yc] where [ID]=" & jj
Call settext("正在生成备份的数据库")
Call settext("处理完成")
Set temp = Nothing
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -