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

📄 frm_fyds.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_fyds 
   Caption         =   "水电气费代收登记表"
   ClientHeight    =   2370
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7305
   LinkTopic       =   "Form1"
   ScaleHeight     =   2370
   ScaleWidth      =   7305
   StartUpPosition =   2  '屏幕中心
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   495
      Left            =   1080
      Top             =   2640
      Width           =   4575
      _ExtentX        =   8070
      _ExtentY        =   873
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   8
      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.Frame Frame2 
      Caption         =   "登记表"
      Height          =   2115
      Left            =   120
      TabIndex        =   3
      Top             =   120
      Width           =   5595
      Begin VB.ComboBox Combo3 
         DataField       =   "是/否欠费"
         DataSource      =   "Adodc1"
         Height          =   300
         ItemData        =   "Frm_fyds.frx":0000
         Left            =   3750
         List            =   "Frm_fyds.frx":000A
         TabIndex        =   18
         Top             =   1560
         Width           =   1695
      End
      Begin VB.ComboBox Combo1 
         DataField       =   "付款方式"
         DataSource      =   "Adodc1"
         Height          =   300
         ItemData        =   "Frm_fyds.frx":0016
         Left            =   3720
         List            =   "Frm_fyds.frx":0023
         TabIndex        =   16
         Top             =   210
         Width           =   1695
      End
      Begin VB.TextBox Text9 
         DataField       =   "别墅编号"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1050
         TabIndex        =   8
         Top             =   690
         Width           =   1680
      End
      Begin VB.TextBox Text8 
         DataField       =   "业主姓名"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3720
         TabIndex        =   7
         Top             =   1110
         Width           =   1680
      End
      Begin VB.TextBox Text7 
         DataField       =   "实收金额"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   3720
         TabIndex        =   6
         Top             =   690
         Width           =   1680
      End
      Begin VB.TextBox Text6 
         DataField       =   "业主电话"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1050
         TabIndex        =   5
         Top             =   1110
         Width           =   1695
      End
      Begin VB.ComboBox Combo2 
         DataField       =   "付款项目"
         DataSource      =   "Adodc1"
         Height          =   300
         ItemData        =   "Frm_fyds.frx":003B
         Left            =   1050
         List            =   "Frm_fyds.frx":0048
         TabIndex        =   4
         Top             =   240
         Width           =   1665
      End
      Begin MSComCtl2.DTPicker DTPicker2 
         DataField       =   "付款日期"
         DataSource      =   "Adodc1"
         Height          =   300
         Left            =   1050
         TabIndex        =   9
         Top             =   1560
         Width           =   1710
         _ExtentX        =   3016
         _ExtentY        =   529
         _Version        =   393216
         Format          =   20119553
         CurrentDate     =   38856
      End
      Begin VB.Label Label10 
         AutoSize        =   -1  'True
         Caption         =   "业主电话:"
         Height          =   180
         Left            =   90
         TabIndex        =   19
         Top             =   1170
         Width           =   900
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "是/否欠费:"
         Height          =   180
         Left            =   2880
         TabIndex        =   17
         Top             =   1650
         Width           =   990
      End
      Begin VB.Label Label14 
         AutoSize        =   -1  'True
         Caption         =   "付款项目:"
         Height          =   180
         Left            =   120
         TabIndex        =   15
         Top             =   300
         Width           =   900
      End
      Begin VB.Label Label13 
         AutoSize        =   -1  'True
         Caption         =   "别墅编号:"
         Height          =   180
         Left            =   120
         TabIndex        =   14
         Top             =   760
         Width           =   900
      End
      Begin VB.Label Label12 
         AutoSize        =   -1  'True
         Caption         =   "业主姓名:"
         Height          =   180
         Left            =   2880
         TabIndex        =   13
         Top             =   1200
         Width           =   900
      End
      Begin VB.Label Label11 
         AutoSize        =   -1  'True
         Caption         =   "实收金额:"
         Height          =   180
         Left            =   2880
         TabIndex        =   12
         Top             =   750
         Width           =   900
      End
      Begin VB.Label Label9 
         AutoSize        =   -1  'True
         Caption         =   "付款方式:"
         Height          =   180
         Left            =   2880
         TabIndex        =   11
         Top             =   300
         Width           =   900
      End
      Begin VB.Label Label8 
         AutoSize        =   -1  'True
         Caption         =   "付款日期:"
         Height          =   180
         Left            =   120
         TabIndex        =   10
         Top             =   1680
         Width           =   900
      End
   End
   Begin VB.CommandButton Command8 
      Caption         =   "返 回"
      Height          =   375
      Left            =   5940
      TabIndex        =   2
      Top             =   1620
      Width           =   1215
   End
   Begin VB.CommandButton Command6 
      Caption         =   "取 消"
      Height          =   375
      Left            =   5940
      TabIndex        =   1
      Top             =   990
      Width           =   1215
   End
   Begin VB.CommandButton Command5 
      Caption         =   "保 存"
      Height          =   375
      Left            =   5940
      TabIndex        =   0
      Top             =   360
      Width           =   1215
   End
End
Attribute VB_Name = "Frm_fyds"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command5_Click()
If Text7 = "" Or Text9 = "" Or Text8 = "" Then
 MsgBox "各项基本信息不能为空"
 Text9.SetFocus
Else
Adodc1.Recordset.Fields(0) = Trim(Combo2.Text)
Adodc1.Recordset.Fields(1) = Trim(Combo1.Text)
Adodc1.Recordset.Fields(2) = Trim(Text9.Text)
Adodc1.Recordset.Fields(3) = Trim(Text7.Text)
Adodc1.Recordset.Fields(4) = Trim(Text6.Text)
Adodc1.Recordset.Fields(5) = Trim(Text8.Text)
Adodc1.Recordset.Fields(6) = DTPicker2.Value
Adodc1.Recordset.Fields(7) = Trim(Combo3.Text)

Adodc1.Recordset.Update
End If

Unload Frm_fyds
End Sub

Private Sub Command6_Click()
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
End Sub

Private Sub Command8_Click()
Unload Me

End Sub

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

⌨️ 快捷键说明

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