📄 search.frm
字号:
VERSION 5.00
Begin VB.Form Search
Caption = "余额查询"
ClientHeight = 1830
ClientLeft = 60
ClientTop = 450
ClientWidth = 3795
LinkTopic = "Form3"
ScaleHeight = 1830
ScaleWidth = 3795
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command1
Caption = "返回"
Height = 495
Left = 1200
TabIndex = 1
Top = 1080
Width = 1215
End
Begin VB.Label Label2
BeginProperty Font
Name = "幼圆"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2520
TabIndex = 2
Top = 480
Width = 1335
End
Begin VB.Label Label1
Caption = "您的帐户余额为"
BeginProperty Font
Name = "幼圆"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 480
TabIndex = 0
Top = 480
Width = 1935
End
End
Attribute VB_Name = "Search"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
Main.Show
End Sub
Private Sub Form_Load()
Dim sh As String
sh = "select * from 银行表 where 帐号='" & Login.id & "'"
Set adoRS = adoCon.Execute(sh)
Label2.Caption = adoRS("余额") & "元"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -