📄 frmworkquery.frm
字号:
VERSION 5.00
Begin VB.Form frmWorkQuery
BackColor = &H00404040&
BorderStyle = 1 'Fixed Single
Caption = "动作查询"
ClientHeight = 5010
ClientLeft = 45
ClientTop = 435
ClientWidth = 7620
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 5010
ScaleWidth = 7620
Begin VB.CommandButton cmdClose
Cancel = -1 'True
Caption = "关 闭"
Height = 345
Left = 3360
TabIndex = 9
Top = 4560
Width = 855
End
Begin VB.TextBox txt
Enabled = 0 'False
Height = 300
Index = 2
Left = 2400
TabIndex = 8
Top = 3480
Width = 3615
End
Begin VB.TextBox txt
Enabled = 0 'False
Height = 300
Index = 3
Left = 2400
TabIndex = 7
Top = 3960
Width = 3615
End
Begin VB.TextBox txt
Enabled = 0 'False
Height = 300
Index = 1
Left = 2400
TabIndex = 6
Top = 3000
Width = 3615
End
Begin VB.TextBox txt
Enabled = 0 'False
Height = 300
Index = 0
Left = 2400
TabIndex = 5
Top = 2520
Width = 3615
End
Begin VB.ListBox lst
Height = 1860
Left = 240
TabIndex = 0
Top = 360
Width = 7095
End
Begin VB.Label lblFWQ
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "银行手续员:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 3
Left = 1320
TabIndex = 4
Top = 4080
Width = 1080
End
Begin VB.Label lblFWQ
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "余额:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 2
Left = 1800
TabIndex = 3
Top = 3600
Width = 540
End
Begin VB.Label lblFWQ
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "金额:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 1
Left = 1800
TabIndex = 2
Top = 3120
Width = 540
End
Begin VB.Label lblFWQ
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "操作:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 0
Left = 1800
TabIndex = 1
Top = 2640
Width = 540
End
End
Attribute VB_Name = "frmWorkQuery"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Wdate As String
Dim rst As Recordset
Public userID As String
Private Sub cmdClose_Click()
Unload Me
End Sub
'响应列表
Private Sub lst_Click()
Set rst = New Recordset
Call LinkDB(landWay, SName, "weboy", SUName, SUPw)
con.Open
Wdate = Mid(lst.Text, 1, 4) & Mid(lst.Text, 6, 2) & Mid(lst.Text, 9, 2) & Mid(lst.Text, 13, 2) & Mid(lst.Text, 16, 2) & Mid(lst.Text, 19, 2)
rst.Open "select * from " & userID & " where wdate='" & Wdate & "'", con, adOpenDynamic, adLockBatchOptimistic
rst.MoveFirst
If rst!way = "set" Then
txt(0).Text = "存款"
ElseIf rst!way = "get" Then
txt(0).Text = "取款"
ElseIf rst!way = "qry" Then
txt(0).Text = "查询"
End If
txt(1).Text = rst!money
txt(2).Text = rst!balance
txt(3).Text = rst!procedurePerson
rst.Close
con.Close
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -