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

📄 frm_tyinfo.frm

📁 我大学时候用vb做的物业管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frm_tyinfo 
   Caption         =   "特约服务登记"
   ClientHeight    =   3735
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7725
   Icon            =   "Frm_tyinfo.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   3735
   ScaleWidth      =   7725
   StartUpPosition =   1  '所有者中心
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   555
      Left            =   1320
      Top             =   3780
      Width           =   4875
      _ExtentX        =   8599
      _ExtentY        =   979
      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            =   6750
      TabIndex        =   28
      Top             =   2700
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "保 存"
      Height          =   375
      Left            =   6750
      TabIndex        =   27
      Top             =   1965
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "取 消"
      Height          =   375
      Left            =   6750
      TabIndex        =   26
      Top             =   1290
      Width           =   855
   End
   Begin VB.Frame Frame2 
      Caption         =   "业主意见"
      Height          =   855
      Left            =   120
      TabIndex        =   21
      Top             =   2760
      Width           =   6375
      Begin VB.CheckBox Check1 
         Caption         =   "非常满意"
         Height          =   255
         Left            =   480
         TabIndex        =   25
         Top             =   360
         Width           =   1215
      End
      Begin VB.CheckBox Check2 
         Caption         =   "满意"
         Height          =   255
         Left            =   2085
         TabIndex        =   24
         Top             =   360
         Width           =   1215
      End
      Begin VB.CheckBox Check3 
         Caption         =   "不满意"
         Height          =   255
         Left            =   3435
         TabIndex        =   23
         Top             =   360
         Width           =   975
      End
      Begin VB.CheckBox Check4 
         Caption         =   "非常生气"
         Height          =   255
         Left            =   4800
         TabIndex        =   22
         Top             =   360
         Width           =   1095
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "特约服务登记栏"
      Height          =   2535
      Left            =   105
      TabIndex        =   0
      Top             =   105
      Width           =   6375
      Begin VB.TextBox Text11 
         DataField       =   "结束时间"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   4725
         TabIndex        =   30
         Top             =   1980
         Width           =   1290
      End
      Begin VB.TextBox Text10 
         DataField       =   "开始时间"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   2940
         TabIndex        =   29
         Top             =   1980
         Width           =   1290
      End
      Begin VB.TextBox Text1 
         DataField       =   "服务编号"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1020
         TabIndex        =   18
         Top             =   420
         Width           =   1410
      End
      Begin VB.TextBox Text2 
         DataField       =   "服务项目"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3450
         TabIndex        =   17
         Top             =   420
         Width           =   2565
      End
      Begin VB.TextBox Text8 
         DataField       =   "人工费用"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   5040
         TabIndex        =   15
         Top             =   1440
         Width           =   1000
      End
      Begin VB.TextBox Text5 
         DataField       =   "接报人"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   5040
         TabIndex        =   6
         Top             =   930
         Width           =   1000
      End
      Begin VB.TextBox Text7 
         DataField       =   "服务人员"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3000
         TabIndex        =   5
         Top             =   1440
         Width           =   1000
      End
      Begin VB.TextBox Text9 
         DataField       =   "物料费用"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1020
         TabIndex        =   4
         Top             =   1950
         Width           =   1185
      End
      Begin VB.TextBox Tex6 
         DataField       =   "接报时间"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1020
         TabIndex        =   3
         Top             =   1440
         Width           =   1000
      End
      Begin VB.TextBox Text3 
         DataField       =   "别墅编号"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1020
         TabIndex        =   2
         Top             =   930
         Width           =   810
      End
      Begin VB.TextBox Text4 
         DataField       =   "业主姓名"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3000
         TabIndex        =   1
         Top             =   930
         Width           =   1000
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "服务编号:"
         Height          =   180
         Left            =   135
         TabIndex        =   20
         Top             =   480
         Width           =   900
      End
      Begin VB.Label Label9 
         AutoSize        =   -1  'True
         Caption         =   "服务项目:"
         Height          =   180
         Left            =   2520
         TabIndex        =   19
         Top             =   480
         Width           =   900
      End
      Begin VB.Label Label6 
         AutoSize        =   -1  'True
         Caption         =   "人工费用:"
         Height          =   180
         Left            =   4200
         TabIndex        =   16
         Top             =   1500
         Width           =   900
      End
      Begin VB.Label Label5 
         AutoSize        =   -1  'True
         Caption         =   "时间从:"
         Height          =   180
         Left            =   2295
         TabIndex        =   14
         Top             =   2040
         Width           =   720
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         Caption         =   "物料费用:"
         Height          =   180
         Left            =   135
         TabIndex        =   13
         Top             =   2010
         Width           =   900
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         Caption         =   "接报人:"
         Height          =   180
         Left            =   4200
         TabIndex        =   12
         Top             =   990
         Width           =   720
      End
      Begin VB.Label Label10 
         AutoSize        =   -1  'True
         Caption         =   "服务人员:"
         Height          =   180
         Left            =   2040
         TabIndex        =   11
         Top             =   1500
         Width           =   900
      End
      Begin VB.Label Label13 
         AutoSize        =   -1  'True
         Caption         =   "至"
         Height          =   180
         Left            =   4440
         TabIndex        =   10
         Top             =   2040
         Width           =   180
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "接报时间:"
         Height          =   180
         Left            =   135
         TabIndex        =   9
         Top             =   1500
         Width           =   900
      End
      Begin VB.Label Label8 
         AutoSize        =   -1  'True
         Caption         =   "别墅编号:"
         Height          =   180
         Left            =   135
         TabIndex        =   8
         Top             =   990
         Width           =   900
      End
      Begin VB.Label Label15 
         AutoSize        =   -1  'True
         Caption         =   "业主姓名:"
         Height          =   180
         Left            =   2040
         TabIndex        =   7
         Top             =   990
         Width           =   900
      End
   End
End
Attribute VB_Name = "Frm_tyinfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
Check1.Value = 0
Check2.Value = 0
Check3.Value = 0
Check4.Value = 0

End Sub

Private Sub Command2_Click()
If Text1 = "" Or Text2 = "" Or Text3 = "" Then
 MsgBox "各项基本信息不能为空"
 Text1.SetFocus
Else
'Adodc1.Recordset.Fields(0) = Trim(Text1.Text)
'Adodc1.Recordset.Fields(1) = Trim(Text2.Text)
'Adodc1.Recordset.Fields(2) = Trim(Text3.Text)
'Adodc1.Recordset.Fields(3) = Trim(Text4.Text)
'Adodc1.Recordset.Fields(4) = Trim(Text5.Text)
'Adodc1.Recordset.Fields(5) = Trim(Text6.Text)
'Adodc1.Recordset.Fields(6) = Trim(Text7.Text)
'Adodc1.Recordset.Fields(7) = Trim(Text8.Text)
'Adodc1.Recordset.Fields(8) = Trim(Text9.Text)
'Adodc1.Recordset.Fields(9) = Trim(Text10.Text)
'Adodc1.Recordset.Fields(10) = Trim(Text11.Text)
 If Check1.Value = 1 Then
  Adodc1.Recordset.Fields(11) = "非常满意"
 End If
 
 If Check2.Value = 1 Then
  Adodc1.Recordset.Fields(11) = "满意"
 End If
 
If Check3.Value = 1 Then
  Adodc1.Recordset.Fields(11) = "不满意"
 End If
 
 If Check4.Value = 1 Then
  Adodc1.Recordset.Fields(11) = "非常生气"
 End If
 
Adodc1.Recordset.Update
End If

Unload Frm_tyinfo
End Sub

Private Sub Command4_Click()
Unload Me

End Sub

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

⌨️ 快捷键说明

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