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

📄 frm_wxinfo.frm

📁 我大学时候用vb做的物业管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frm_wxinfo 
   Caption         =   "报修信息登记"
   ClientHeight    =   2865
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7995
   Icon            =   "Frm_wxinfo.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   2865
   ScaleWidth      =   7995
   StartUpPosition =   2  '屏幕中心
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   1365
      Top             =   3990
      Width           =   4215
      _ExtentX        =   7435
      _ExtentY        =   582
      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=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "select * from tab_报修登记表"
      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 Command4 
      Caption         =   "返 回"
      Height          =   375
      Left            =   6960
      TabIndex        =   17
      Top             =   1800
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "保 存"
      Height          =   375
      Left            =   6960
      TabIndex        =   16
      Top             =   1110
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "取 消"
      Height          =   375
      Left            =   6930
      TabIndex        =   15
      Top             =   450
      Width           =   855
   End
   Begin VB.Frame Frame1 
      Caption         =   "报修信息登记栏"
      Height          =   2535
      Left            =   105
      TabIndex        =   7
      Top             =   105
      Width           =   6585
      Begin VB.TextBox Text4 
         DataField       =   "报修时间"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3465
         TabIndex        =   4
         Top             =   735
         Width           =   1000
      End
      Begin VB.TextBox Text6 
         DataField       =   "维修日期"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1050
         TabIndex        =   33
         Top             =   1140
         Width           =   1410
      End
      Begin VB.TextBox Text9 
         DataField       =   "维修结果"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1050
         TabIndex        =   9
         Top             =   1575
         Width           =   1410
      End
      Begin VB.TextBox Text10 
         DataField       =   "回访时间"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3465
         TabIndex        =   10
         Top             =   1620
         Width           =   1000
      End
      Begin VB.TextBox Text11 
         DataField       =   "回访情况"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   5355
         TabIndex        =   11
         Top             =   1575
         Width           =   1000
      End
      Begin VB.TextBox Text7 
         DataField       =   "报修人"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3465
         TabIndex        =   6
         Top             =   1200
         Width           =   1000
      End
      Begin VB.TextBox Text8 
         DataField       =   "联系人电话"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   5355
         TabIndex        =   8
         Top             =   1155
         Width           =   1005
      End
      Begin VB.TextBox Text13 
         DataField       =   "维修操作员"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3480
         TabIndex        =   13
         Top             =   1995
         Width           =   1000
      End
      Begin VB.TextBox Text5 
         DataField       =   "受理人"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   5355
         TabIndex        =   5
         Top             =   735
         Width           =   1020
      End
      Begin VB.TextBox Text2 
         DataField       =   "别墅编码"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3465
         TabIndex        =   1
         Top             =   315
         Width           =   1000
      End
      Begin VB.TextBox Text12 
         DataField       =   "报修内容"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1035
         TabIndex        =   12
         Top             =   2010
         Width           =   1410
      End
      Begin VB.TextBox Text14 
         DataField       =   "维修费用"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   5355
         TabIndex        =   14
         Top             =   1995
         Width           =   990
      End
      Begin VB.TextBox Text3 
         DataField       =   "用户名称"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   5355
         TabIndex        =   2
         Top             =   315
         Width           =   1000
      End
      Begin VB.TextBox Text1 
         DataField       =   "记录编号"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1050
         TabIndex        =   0
         Top             =   285
         Width           =   1410
      End
      Begin MSComCtl2.DTPicker DTPicker1 
         DataField       =   "登记日期"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1050
         TabIndex        =   3
         Top             =   735
         Width           =   1440
         _ExtentX        =   2540
         _ExtentY        =   529
         _Version        =   393216
         Format          =   76283905
         CurrentDate     =   38856
      End
      Begin VB.Label Label18 
         AutoSize        =   -1  'True
         Caption         =   "处理结果:"
         Height          =   180
         Left            =   105
         TabIndex        =   32
         Top             =   1575
         Width           =   810
      End
      Begin VB.Label Label17 
         AutoSize        =   -1  'True
         Caption         =   "回访时间"
         Height          =   180
         Left            =   2625
         TabIndex        =   31
         Top             =   1620
         Width           =   720
      End
      Begin VB.Label Label16 
         AutoSize        =   -1  'True
         Caption         =   "回访情况"
         Height          =   180
         Left            =   4515
         TabIndex        =   30
         Top             =   1575
         Width           =   720
      End
      Begin VB.Label Label14 
         AutoSize        =   -1  'True
         Caption         =   "维修时间:"
         Height          =   180
         Left            =   105
         TabIndex        =   29
         Top             =   1155
         Width           =   900
      End
      Begin VB.Label Label5 
         AutoSize        =   -1  'True
         Caption         =   "报 修 人:"
         Height          =   180
         Left            =   2625
         TabIndex        =   28
         Top             =   1200
         Width           =   900
      End
      Begin VB.Label Label7 
         AutoSize        =   -1  'True
         Caption         =   "联系电话:"
         Height          =   180
         Left            =   4515
         TabIndex        =   27
         Top             =   1155
         Width           =   900
      End
      Begin VB.Label Label6 
         AutoSize        =   -1  'True
         Caption         =   "报修日期:"
         Height          =   180
         Left            =   105
         TabIndex        =   26
         Top             =   795
         Width           =   900
      End
      Begin VB.Label Label15 
         AutoSize        =   -1  'True
         Caption         =   "业主姓名:"
         Height          =   180
         Left            =   4515
         TabIndex        =   25
         Top             =   330
         Width           =   900
      End
      Begin VB.Label Label8 
         AutoSize        =   -1  'True
         Caption         =   "别墅编号:"
         Height          =   180
         Left            =   2625
         TabIndex        =   24
         Top             =   375
         Width           =   900
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "接报时间:"
         Height          =   180
         Left            =   2625
         TabIndex        =   23
         Top             =   780
         Width           =   900
      End
      Begin VB.Label Label10 
         AutoSize        =   -1  'True
         Caption         =   "维修人员:"
         Height          =   300
         Left            =   2625
         TabIndex        =   22
         Top             =   1995
         Width           =   900
      End
      Begin VB.Label Label9 
         AutoSize        =   -1  'True
         Caption         =   "报修项目:"
         Height          =   180
         Left            =   105
         TabIndex        =   21
         Top             =   2070
         Width           =   900
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "记录编码:"
         Height          =   180
         Left            =   165
         TabIndex        =   20
         Top             =   360
         Width           =   900
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         Caption         =   "受 理 人:"
         Height          =   180
         Left            =   4515
         TabIndex        =   19
         Top             =   735
         Width           =   900
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         Caption         =   "维修金额:"
         Height          =   180
         Left            =   4515
         TabIndex        =   18
         Top             =   1995
         Width           =   900
      End
   End
End
Attribute VB_Name = "Frm_wxinfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Call wxinfo_clear

End Sub

Private Sub Command2_Click()

If Text1 = "" Or Text2 = "" Or Text3 = "" Then
 MsgBox "各项基本信息不能为空"
 Text1.SetFocus
Else
Adodc1.Recordset.Fields("记录编号") = Trim(Text1.Text)
Adodc1.Recordset.Fields("别墅编码") = Trim(Text2.Text)
Adodc1.Recordset.Fields("用户名称") = Trim(Text3.Text)
Adodc1.Recordset.Fields("报修时间") = Trim(Text4.Text)
Adodc1.Recordset.Fields("受理人") = Trim(Text5.Text)
Adodc1.Recordset.Fields("报修人") = Trim(Text6.Text)
Adodc1.Recordset.Fields("联系人电话") = Trim(Text7.Text)
Adodc1.Recordset.Fields("维修结果") = Trim(Text8.Text)
Adodc1.Recordset.Fields("回访时间") = Trim(Text9.Text)
Adodc1.Recordset.Fields("回访情况") = Trim(Text10.Text)
Adodc1.Recordset.Fields("报修内容") = Trim(Text11.Text)
Adodc1.Recordset.Fields("维修操作员") = Trim(Text12.Text)
Adodc1.Recordset.Fields("维修费用") = Trim(Text13.Text)
Adodc1.Recordset.Fields("登记日期") = DTPicker1.Value

Adodc1.Recordset.Update
End If
Unload Frm_wxinfo


End Sub

Private Sub Command4_Click()
Unload Me

End Sub

Private Sub Form_Unload(Cancel As Integer)
Frm_wxinfocu.GurhanCoolButton1.SetFocus
End Sub

⌨️ 快捷键说明

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