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

📄 frm_xgmm.frm

📁 网络化管理解决了实际工作中不能及时对连锁店销售情况进行统一管理的问题
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Frm_xgmm 
   Caption         =   "修改密码"
   ClientHeight    =   3075
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4470
   LinkTopic       =   "Form1"
   ScaleHeight     =   3075
   ScaleWidth      =   4470
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text1 
      Height          =   375
      IMEMode         =   3  'DISABLE
      Index           =   1
      Left            =   1800
      PasswordChar    =   "*"
      TabIndex        =   4
      Top             =   1560
      Width           =   2055
   End
   Begin VB.TextBox Text1 
      Height          =   375
      IMEMode         =   3  'DISABLE
      Index           =   0
      Left            =   1800
      PasswordChar    =   "*"
      TabIndex        =   3
      Top             =   600
      Width           =   2055
   End
   Begin VB.Frame Frame1 
      Height          =   2295
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   4215
      Begin VB.Label Label3 
         Caption         =   "请确认新密码"
         Height          =   255
         Left            =   360
         TabIndex        =   6
         Top             =   1440
         Width           =   1095
      End
      Begin VB.Label Label2 
         Caption         =   "请输入新密码"
         Height          =   255
         Left            =   360
         TabIndex        =   5
         Top             =   480
         Width           =   1095
      End
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   400
      Left            =   2760
      TabIndex        =   1
      Top             =   2520
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "修改"
      Height          =   400
      Left            =   720
      TabIndex        =   0
      Top             =   2520
      Width           =   855
   End
End
Attribute VB_Name = "Frm_xgmm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim AdoRs As New ADODB.Recordset
Dim txtSQL As String
  If Trim(Text1(0).Text) <> Trim(Text1(1).Text) Then
      MsgBox "两次输入不一致!"
      Text1(0).SetFocus
      Text1(0).Text = ""
      Text1(1).Text = ""
Else
  txtSQL = " select * from 用户表 where 用户名称 = '" & Frm_login.Text1(1).Text & "' "
  Set AdoRs = ExecuteSQL(txtSQL)
  AdoRs.Fields(1) = Text1(1)(Text)
  AdoRs.Update
  AdoRs.Close
  MsgBox "修改成功!"
  Me.Hide
End If
End Sub

⌨️ 快捷键说明

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