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

📄 form25.frm

📁 银行的客户端模块
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form25 
   BorderStyle     =   0  'None
   Caption         =   "Form25"
   ClientHeight    =   6675
   ClientLeft      =   60
   ClientTop       =   75
   ClientWidth     =   8865
   LinkTopic       =   "Form25"
   ScaleHeight     =   6675
   ScaleWidth      =   8865
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton Command2 
      Caption         =   "返回"
      Height          =   375
      Left            =   4080
      TabIndex        =   7
      Top             =   4080
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确认挂失"
      Height          =   375
      Left            =   2280
      TabIndex        =   6
      Top             =   4080
      Width           =   1095
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   2880
      TabIndex        =   5
      Text            =   "Text2"
      Top             =   2640
      Width           =   2535
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      ItemData        =   "Form25.frx":0000
      Left            =   2880
      List            =   "Form25.frx":000A
      TabIndex        =   3
      Text            =   "请选择"
      Top             =   1080
      Width           =   1695
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   2880
      TabIndex        =   1
      Text            =   "Text1"
      Top             =   1920
      Width           =   1815
   End
   Begin VB.Label Label5 
      Caption         =   "18位"
      Height          =   375
      Left            =   5760
      TabIndex        =   9
      Top             =   2640
      Width           =   615
   End
   Begin VB.Label Label4 
      Caption         =   "10位"
      Height          =   375
      Left            =   5040
      TabIndex        =   8
      Top             =   1920
      Width           =   735
   End
   Begin VB.Label Label3 
      Caption         =   "身份证号码"
      Height          =   375
      Left            =   1320
      TabIndex        =   4
      Top             =   2760
      Width           =   1095
   End
   Begin VB.Label Label2 
      Caption         =   "挂失帐户"
      Height          =   255
      Left            =   1320
      TabIndex        =   2
      Top             =   1920
      Width           =   1095
   End
   Begin VB.Label Label1 
      Caption         =   "挂失帐户类型"
      Height          =   375
      Left            =   1320
      TabIndex        =   0
      Top             =   1080
      Width           =   1095
   End
End
Attribute VB_Name = "Form25"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Select Case Combo1.Text
       Case "请选择"
            MsgBox "请选择挂失帐户类型"
       Case "储蓄帐户"
            cmd.CommandText = "select * from xinxi0504_23_account where account_id='" & Trim(Text1.Text) & "'"
            Set rs = cmd.Execute
            If rs.EOF = True Then
               MsgBox "不存在该帐户"
            ElseIf rs.Fields("lost") = "1" Then
               MsgBox "该帐户已经挂失"
            ElseIf Text2.Text <> rs.Fields("customer_ident") Then
               MsgBox "身份证号码错误"
            Else
               cmd.CommandText = "update xinxi0504_23_account set lost='1' where account_id='" & Trim(Text1.Text) & "'"
               cmd.Execute
               MsgBox "挂失成功"
               Form11.Show
               Unload Form25
            End If
       Case "信用卡帐户"
            cmd.CommandText = "select * from xinxi0504_23_credit where credit_id='" & Trim(Text1.Text) & "'"
            Set rs = cmd.Execute
            If rs.EOF = True Then
               MsgBox "不存在该帐户"
            ElseIf rs.Fields("lost") = "1" Then
               MsgBox "该帐户已经挂失"
            ElseIf Text2.Text <> rs.Fields("customer_ident") Then
               MsgBox "身份证号码错误"
            Else
               cmd.CommandText = "update xinxi0504_23_credit set lost='1' where credit_id='" & Trim(Text1.Text) & "'"
               cmd.Execute
               MsgBox "挂失成功"
               Form11.Show
               Unload Form25
            End If
End Select
End Sub

Private Sub Command2_Click()
Form11.Show
Unload Form25

End Sub

⌨️ 快捷键说明

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