?? frmsec.frm
字號:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmJindu
BackColor = &H00FF8080&
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 975
ClientLeft = 0
ClientTop = 0
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 975
ScaleWidth = 4680
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin MSComctlLib.ProgressBar Jdt
Height = 375
Left = 120
TabIndex = 0
Top = 480
Width = 4335
_ExtentX = 7646
_ExtentY = 661
_Version = 393216
BorderStyle = 1
Appearance = 0
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "系統正在處理中,請梢后......"
Height = 255
Left = 240
TabIndex = 1
Top = 120
Width = 2895
End
End
Attribute VB_Name = "frmJindu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Form_Load()
Dim x As Integer
Dim vbdel() As String
Dim y As String
frmJindu.Show
y = CStr(CDate(Date) - frmQQ.Text1.Text * 30)
SQL = "select * from lentinfo where 還碟時間< #" & y & "#"
OpenDBFile
OpenRS (SQL)
If gRst.RecordCount > 0 Then
Jdt.Min = 0
Jdt.Max = gRst.RecordCount
ReDim vbdel(gRst.RecordCount)
gRst.MoveFirst
For x = 1 To Jdt.Max
vbdel(x) = gRst("還碟時間")
gRst.MoveNext
Next
CloseRS
OpenDBFile
For x = 1 To Jdt.Max
Sleep 5
gCon.Execute "delete from lentinfo where 還碟時間= #" & CStr(vbdel(x)) & "#"
Jdt.Value = x
Next
CloseDBFile
Else
CloseRS
End If
Unload Me
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -