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

📄 frm_bdwxxsz.frm

📁 客户管理系统 基于vb开发环境
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frm_bdwxxsz 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "本单位信息设置"
   ClientHeight    =   4230
   ClientLeft      =   8910
   ClientTop       =   4095
   ClientWidth     =   5865
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4230
   ScaleWidth      =   5865
   ShowInTaskbar   =   0   'False
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   375
      Left            =   120
      Top             =   4080
      Visible         =   0   'False
      Width           =   2175
      _ExtentX        =   3836
      _ExtentY        =   661
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   1
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=khgl.mdb;Persist Security Info=False"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=khgl.mdb;Persist Security Info=False"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "select * from bdwxx"
      Caption         =   "Adodc1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _Version        =   393216
   End
   Begin VB.CommandButton Command3 
      Caption         =   "取消"
      Height          =   375
      Left            =   3720
      TabIndex        =   12
      Top             =   3720
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "确定"
      Enabled         =   0   'False
      Height          =   375
      Left            =   2880
      TabIndex        =   11
      Top             =   3720
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "编辑"
      Height          =   375
      Left            =   2040
      TabIndex        =   10
      Top             =   3720
      Width           =   855
   End
   Begin VB.Frame Frame1 
      Height          =   3615
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   5295
      Begin VB.TextBox Text9 
         DataField       =   "邮政编码"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   3
         Top             =   960
         Width           =   3975
      End
      Begin VB.TextBox Text8 
         DataField       =   "网址"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   9
         Top             =   3120
         Width           =   3975
      End
      Begin VB.TextBox Text7 
         DataField       =   "银行账号"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   8
         Top             =   2760
         Width           =   3975
      End
      Begin VB.TextBox Text6 
         DataField       =   "开户银行"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   7
         Top             =   2400
         Width           =   3975
      End
      Begin VB.TextBox Text5 
         DataField       =   "联系电话"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   6
         Top             =   2040
         Width           =   3975
      End
      Begin VB.TextBox Text4 
         DataField       =   "法人代表"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   5
         Top             =   1680
         Width           =   3975
      End
      Begin VB.TextBox Text3 
         DataField       =   "电话"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   4
         Top             =   1320
         Width           =   3975
      End
      Begin VB.TextBox Text2 
         DataField       =   "地址"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   2
         Top             =   600
         Width           =   3975
      End
      Begin VB.TextBox Text1 
         DataField       =   "单位名称"
         DataSource      =   "Adodc1"
         Enabled         =   0   'False
         Height          =   350
         Left            =   1200
         TabIndex        =   1
         Top             =   240
         Width           =   3975
      End
      Begin VB.Label Label9 
         Caption         =   "邮政编码:"
         Height          =   255
         Left            =   120
         TabIndex        =   21
         Top             =   1080
         Width           =   975
      End
      Begin VB.Label Label8 
         Caption         =   "网址:"
         Height          =   255
         Left            =   120
         TabIndex        =   20
         Top             =   3240
         Width           =   855
      End
      Begin VB.Label Label7 
         Caption         =   "银行账号:"
         Height          =   255
         Left            =   120
         TabIndex        =   19
         Top             =   2880
         Width           =   975
      End
      Begin VB.Label Label6 
         Caption         =   "开户银行:"
         Height          =   255
         Left            =   120
         TabIndex        =   18
         Top             =   2520
         Width           =   975
      End
      Begin VB.Label Label5 
         Caption         =   "联系电话:"
         Height          =   255
         Left            =   120
         TabIndex        =   17
         Top             =   2160
         Width           =   975
      End
      Begin VB.Label Label4 
         Caption         =   "法人代表:"
         Height          =   255
         Left            =   120
         TabIndex        =   16
         Top             =   1800
         Width           =   975
      End
      Begin VB.Label Label3 
         Caption         =   "单位电话:"
         Height          =   255
         Left            =   120
         TabIndex        =   15
         Top             =   1440
         Width           =   975
      End
      Begin VB.Label Label2 
         Caption         =   "地址:"
         Height          =   255
         Left            =   120
         TabIndex        =   14
         Top             =   720
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "单位名称:"
         Height          =   375
         Left            =   120
         TabIndex        =   13
         Top             =   360
         Width           =   1695
      End
   End
End
Attribute VB_Name = "frm_bdwxxsz"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
Text1.SetFocus
Command2.Enabled = True

End Sub

Private Sub Command2_Click()
If Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Text4.Text = "" Or Text5.Text = "" Or Text6.Text = "" Or Text7.Text = "" Or Text8.Text = "" Or Text9.Text = "" Then
  MsgBox "输入不完全", , "信息提示"
Else
     Adodc1.Recordset.Update
     Adodc1.Refresh
     Adodc1.Refresh
     MsgBox "信息修改成功!", 48, "客户管理管理系统"
    Text1.Enabled = False
    Text2.Enabled = False
    Text3.Enabled = False
    Text4.Enabled = False
    Text5.Enabled = False
    Text6.Enabled = False
    Text7.Enabled = False
    Text8.Enabled = False
    Text9.Enabled = False
  Command2.Enabled = False
End If
End Sub

Private Sub Command3_Click()
  Unload Me
End Sub

⌨️ 快捷键说明

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