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

📄 frm_bsinfocu.frm

📁 主要是实现物业管理功能!可以帮助了解该区的相关物业情况
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form Frm_bsinfocu 
   BackColor       =   &H00FF8080&
   Caption         =   "别墅信息查询"
   ClientHeight    =   7965
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   13455
   Icon            =   "Frm_bsinfocu.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   7965
   ScaleWidth      =   13455
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      Appearance      =   0  'Flat
      BackColor       =   &H00FF8080&
      BorderStyle     =   0  'None
      ForeColor       =   &H80000008&
      Height          =   660
      Left            =   0
      TabIndex        =   2
      Top             =   0
      Width           =   13365
      Begin VB.CommandButton Command1 
         BackColor       =   &H0000C000&
         Caption         =   "别墅编号"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   14.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   435
         Left            =   105
         MaskColor       =   &H00C0E0FF&
         TabIndex        =   3
         Top             =   75
         Width           =   1590
      End
      Begin 工程1.GurhanCoolButton GurhanCoolButton1 
         Height          =   495
         Left            =   3900
         TabIndex        =   5
         Top             =   60
         Width           =   1335
         _extentx        =   2355
         _extenty        =   873
         buttonicon      =   "Frm_bsinfocu.frx":1CCA
         captiontitle    =   "  添 加  "
         buttonbackcolor =   16744576
         font            =   "Frm_bsinfocu.frx":2252
         font            =   "Frm_bsinfocu.frx":2276
      End
      Begin 工程1.GurhanCoolButton GurhanCoolButton2 
         Height          =   495
         Left            =   5490
         TabIndex        =   6
         Top             =   60
         Width           =   1335
         _extentx        =   2355
         _extenty        =   873
         buttonicon      =   "Frm_bsinfocu.frx":229A
         captiontitle    =   "  删 除  "
         buttonbackcolor =   16744576
         font            =   "Frm_bsinfocu.frx":26F2
         font            =   "Frm_bsinfocu.frx":2716
      End
      Begin 工程1.GurhanCoolButton GurhanCoolButton4 
         Height          =   495
         Left            =   7080
         TabIndex        =   7
         Top             =   60
         Width           =   1335
         _extentx        =   2355
         _extenty        =   873
         buttonicon      =   "Frm_bsinfocu.frx":273A
         captiontitle    =   "  修 改  "
         buttonbackcolor =   16744576
         font            =   "Frm_bsinfocu.frx":2896
         font            =   "Frm_bsinfocu.frx":28BA
      End
      Begin 工程1.GurhanCoolButton GurhanCoolButton5 
         Height          =   495
         Left            =   10260
         TabIndex        =   8
         Top             =   60
         Width           =   1335
         _extentx        =   2355
         _extenty        =   873
         buttonicon      =   "Frm_bsinfocu.frx":28DE
         captiontitle    =   "条件查询    "
         buttonbackcolor =   16744576
         font            =   "Frm_bsinfocu.frx":2E02
         font            =   "Frm_bsinfocu.frx":2E26
      End
      Begin 工程1.GurhanCoolButton GurhanCoolButton6 
         Height          =   495
         Left            =   8670
         TabIndex        =   9
         Top             =   60
         Width           =   1335
         _extentx        =   2355
         _extenty        =   873
         buttonicon      =   "Frm_bsinfocu.frx":2E4A
         captiontitle    =   "  打 印   "
         buttonbackcolor =   16744576
         font            =   "Frm_bsinfocu.frx":3326
         font            =   "Frm_bsinfocu.frx":334A
      End
      Begin 工程1.GurhanCoolButton GurhanCoolButton7 
         Height          =   495
         Left            =   11850
         TabIndex        =   10
         Top             =   60
         Width           =   1125
         _extentx        =   1984
         _extenty        =   873
         buttonicon      =   "Frm_bsinfocu.frx":336E
         captiontitle    =   "  退 出  "
         buttonbackcolor =   16744576
         font            =   "Frm_bsinfocu.frx":3802
         font            =   "Frm_bsinfocu.frx":3826
      End
   End
   Begin MSDataGridLib.DataGrid DataGrid1 
      Bindings        =   "Frm_bsinfocu.frx":384A
      Height          =   7215
      Left            =   1380
      TabIndex        =   0
      Top             =   690
      Width           =   12015
      _ExtentX        =   21193
      _ExtentY        =   12726
      _Version        =   393216
      AllowUpdate     =   0   'False
      BackColor       =   65280
      ForeColor       =   12582912
      HeadLines       =   1
      RowHeight       =   14
      BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ColumnCount     =   2
      BeginProperty Column00 
         DataField       =   ""
         Caption         =   ""
         BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
            Type            =   0
            Format          =   ""
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
      EndProperty
      BeginProperty Column01 
         DataField       =   ""
         Caption         =   ""
         BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
            Type            =   0
            Format          =   ""
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
      EndProperty
      SplitCount      =   1
      BeginProperty Split0 
         BeginProperty Column00 
         EndProperty
         BeginProperty Column01 
         EndProperty
      EndProperty
   End
   Begin MSDataListLib.DataList DataList1 
      Bindings        =   "Frm_bsinfocu.frx":385F
      DataField       =   "别墅编号"
      DataSource      =   "Adodc1"
      Height          =   7200
      Left            =   30
      TabIndex        =   1
      Top             =   720
      Width           =   1260
      _ExtentX        =   2223
      _ExtentY        =   12700
      _Version        =   393216
      ListField       =   "别墅编号"
      BoundColumn     =   ""
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   330
      Left            =   1260
      Top             =   8190
      Width           =   7365
      _ExtentX        =   12991
      _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.TextBox Text1 
      Height          =   435
      Left            =   105
      TabIndex        =   4
      Text            =   "Text1"
      Top             =   1155
      Width           =   960
   End
End
Attribute VB_Name = "Frm_bsinfocu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click()
Adodc1.RecordSource = "select * from tab_别墅信息  "
Adodc1.Refresh
End Sub

Private Sub DataList1_Click()
Text1.Text = Trim(DataList1.Text)
Adodc1.RecordSource = "select * from tab_别墅信息 where 别墅编号 like '" & Text1.Text & "' "
Adodc1.Refresh
End Sub

Private Sub Form_Load()
 If Frm_load.group = "3" Then
    GurhanCoolButton1.Visible = False
    GurhanCoolButton2.Visible = False
    GurhanCoolButton4.Visible = False
     
  End If

End Sub

Private Sub GurhanCoolButton1_CLICKED()
Frm_bsinfo.Show
Frm_bsinfo.Adodc1.Recordset.AddNew
Call bsinfo_clear

End Sub

Private Sub GurhanCoolButton2_CLICKED()
Dim res As Integer
res = MsgBox("确实要删除此别墅的信息吗?", vbExclamation + vbYesNo + vbDefaultButton2)
If res = vbYes Then
 
Adodc1.Recordset.Delete
Adodc1.Refresh
End If
Adodc1.RecordSource = "select * from tab_别墅信息  "
Adodc1.Refresh
End Sub

Private Sub GurhanCoolButton3_CLICKED()

End Sub

Private Sub GurhanCoolButton4_CLICKED()
Frm_bsinfo.Adodc1.RecordSource = "select * from tab_别墅信息 where 别墅编号 like '" & Text1.Text & "' "
Frm_bsinfo.Adodc1.Refresh
Frm_bsinfo.Show
End Sub

Private Sub GurhanCoolButton5_CLICKED()
Frm_bstjcu.Show

End Sub

Private Sub GurhanCoolButton6_CLICKED()

DataR2.Show

End Sub

Private Sub GurhanCoolButton7_CLICKED()
Unload Me

End Sub

Private Sub Command1_GotFocus()
Adodc1.RecordSource = "select * from tab_别墅信息  "
Adodc1.Refresh
End Sub



⌨️ 快捷键说明

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