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

📄 changecustomer.frm

📁 药品管理系统,药品的进销,药品的过期以及药品系统的备分
💻 FRM
字号:
VERSION 5.00
Begin VB.Form changecustomer 
   Caption         =   "修改会员信息"
   ClientHeight    =   5715
   ClientLeft      =   285
   ClientTop       =   420
   ClientWidth     =   9150
   LinkTopic       =   "Form1"
   ScaleHeight     =   5715
   ScaleWidth      =   9150
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame1 
      Caption         =   "修改会员信息"
      Height          =   4695
      Left            =   1200
      TabIndex        =   0
      Top             =   360
      Width           =   6735
      Begin VB.TextBox Text4 
         Height          =   375
         Left            =   1200
         TabIndex        =   10
         Top             =   3480
         Width           =   3735
      End
      Begin VB.CommandButton Command2 
         Caption         =   "取消"
         Height          =   375
         Left            =   3240
         TabIndex        =   9
         Top             =   4200
         Width           =   1455
      End
      Begin VB.CommandButton Command1 
         Caption         =   "确定"
         Height          =   375
         Left            =   1440
         TabIndex        =   8
         Top             =   4200
         Width           =   1455
      End
      Begin VB.TextBox Text3 
         Height          =   375
         Left            =   1200
         TabIndex        =   7
         Top             =   2520
         Width           =   3735
      End
      Begin VB.TextBox Text2 
         Height          =   375
         Left            =   1200
         TabIndex        =   6
         Top             =   1680
         Width           =   3735
      End
      Begin VB.TextBox Text1 
         Height          =   375
         Left            =   1200
         TabIndex        =   5
         Top             =   720
         Width           =   3735
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         Caption         =   "余额信息:"
         Height          =   180
         Left            =   240
         TabIndex        =   4
         Top             =   3600
         Width           =   900
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         Caption         =   "联系方式:"
         Height          =   180
         Left            =   240
         TabIndex        =   3
         Top             =   2640
         Width           =   900
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "会员名:"
         Height          =   180
         Left            =   420
         TabIndex        =   2
         Top             =   1680
         Width           =   720
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "会员编号:"
         Height          =   180
         Left            =   240
         TabIndex        =   1
         Top             =   720
         Width           =   900
      End
   End
End
Attribute VB_Name = "changecustomer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
   If Not IsNumeric(Text4.Text) Then
       MsgBox "Customer Dues Have to be Number Format!", vbCritical
       Text4.SetFocus
    Exit Sub
    End If
    

    
    If CCur(Text4.Text) < 0 Then
        MsgBox "Cannot Enter Negative Values In Dues!", vbCritical
        Text4.SetFocus
        Exit Sub
    End If
    
        
    Call openconn
    
   sqlstr = "update customer set dues=" & CCur(Text4.Text) & " where customerid = '" & Text1.Text & "'"
    
    
    Call rs(sqlstr)
    
    Call closeconn
    
    MsgBox "Customer Dues Saved Successfully!", vbInformation
        
    Unload Me
    
    
End Sub


Private Sub Command2_Click()
    Unload Me
End Sub

⌨️ 快捷键说明

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