⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form10.frm

📁 银行的客户端模块
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form10 
   BorderStyle     =   0  'None
   Caption         =   "职工密码修改界面"
   ClientHeight    =   6345
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   7590
   LinkTopic       =   "Form10"
   ScaleHeight     =   6345
   ScaleWidth      =   7590
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton Command1 
      Caption         =   "确认恢复"
      Height          =   975
      Left            =   2760
      TabIndex        =   2
      Top             =   2760
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   2400
      TabIndex        =   1
      Top             =   1680
      Width           =   3255
   End
   Begin VB.Label Label2 
      Caption         =   "密码恢复为相应的编号"
      Height          =   375
      Left            =   960
      TabIndex        =   3
      Top             =   960
      Width           =   4575
   End
   Begin VB.Label Label1 
      Caption         =   "输入编号"
      Height          =   255
      Left            =   960
      TabIndex        =   0
      Top             =   1800
      Width           =   1215
   End
End
Attribute VB_Name = "Form10"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
cmd.CommandText = "select * from xinxi0504_23_employee where employee_id='" & Trim(Text1.Text) & "'"
Set rs = cmd.Execute
If rs.EOF = True Then
   MsgBox "该职工不存在或编号输入错误"
Else
   cmd.CommandText = "update xinxi0504_23_employee set employee_secret_code='" & Trim(Text1.Text) & "' where employee_id='" & Trim(Text1.Text) & "'"
   cmd.Execute
   MsgBox "密码恢复成功"
End If
End Sub

Private Sub Form_Load()
Label1.Caption = "输入编号"
Label2.Caption = "密码恢复为相应的编号"
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -