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

📄 frm_sfcx_xx.frm

📁 前些年帮人写的毕业设计
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Frm_sfcx_xx 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "详细资料"
   ClientHeight    =   2670
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6015
   Icon            =   "Frm_sfcx_xx.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2670
   ScaleWidth      =   6015
   StartUpPosition =   1  '所有者中心
   Begin VB.Label Label18 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   4140
      TabIndex        =   17
      Top             =   1980
      Width           =   1755
   End
   Begin VB.Label Label17 
      Caption         =   "联系电话"
      Height          =   255
      Left            =   3240
      TabIndex        =   16
      Top             =   2040
      Width           =   735
   End
   Begin VB.Label Label16 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   1140
      TabIndex        =   15
      Top             =   1980
      Width           =   1755
   End
   Begin VB.Label Label15 
      Caption         =   "职 业"
      Height          =   255
      Left            =   180
      TabIndex        =   14
      Top             =   2040
      Width           =   735
   End
   Begin VB.Label Label14 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   4140
      TabIndex        =   13
      Top             =   1560
      Width           =   1755
   End
   Begin VB.Label Label13 
      Caption         =   "身份证号"
      Height          =   255
      Left            =   3240
      TabIndex        =   12
      Top             =   1620
      Width           =   735
   End
   Begin VB.Label Label12 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   1140
      TabIndex        =   11
      Top             =   1560
      Width           =   1755
   End
   Begin VB.Label Label11 
      Caption         =   "业主姓名"
      Height          =   255
      Left            =   180
      TabIndex        =   10
      Top             =   1620
      Width           =   735
   End
   Begin VB.Label Label10 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   1140
      TabIndex        =   9
      Top             =   1020
      Width           =   1755
   End
   Begin VB.Label Label9 
      Caption         =   "是否出售"
      Height          =   255
      Left            =   180
      TabIndex        =   8
      Top             =   1080
      Width           =   735
   End
   Begin VB.Label Label8 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   4080
      TabIndex        =   7
      Top             =   600
      Width           =   1755
   End
   Begin VB.Label Label7 
      Caption         =   "是否出租"
      Height          =   255
      Left            =   3240
      TabIndex        =   6
      Top             =   660
      Width           =   795
   End
   Begin VB.Label Label6 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   1140
      TabIndex        =   5
      Top             =   600
      Width           =   1755
   End
   Begin VB.Label Label5 
      Caption         =   "使用面积"
      Height          =   255
      Left            =   180
      TabIndex        =   4
      Top             =   660
      Width           =   735
   End
   Begin VB.Label Label4 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   4080
      TabIndex        =   3
      Top             =   180
      Width           =   1755
   End
   Begin VB.Label Label3 
      Caption         =   "建筑面积"
      Height          =   255
      Left            =   3240
      TabIndex        =   2
      Top             =   240
      Width           =   795
   End
   Begin VB.Label Label2 
      BackColor       =   &H80000009&
      BorderStyle     =   1  'Fixed Single
      Height          =   300
      Left            =   1140
      TabIndex        =   1
      Top             =   180
      Width           =   1755
   End
   Begin VB.Label Label1 
      Caption         =   "房 号"
      Height          =   255
      Left            =   180
      TabIndex        =   0
      Top             =   240
      Width           =   495
   End
End
Attribute VB_Name = "Frm_sfcx_xx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
    Dim cn As ADODB.Connection
    Dim rst As New ADODB.Recordset
    Set cn = GetCn
    rst.Open "select a.fh,a.jzmj,a.symj,a.cz,a.cs,b.xm,b.sfz,b.zy,b.dh from fangchan a inner join yezhu b on a.id=b.fid where a.fh='" & Frm_sfcx.ListView1.SelectedItem.Text & "'", cn, 0, 1
    If rst.BOF And rst.EOF Then
        MsgBox "未知错误!", vbExclamation, "提示"
        rst.Close
        cn.Close
        Exit Sub
    End If
    Label2.Caption = rst(0)
    Label4.Caption = rst(1)
    Label6.Caption = rst(2)
    Label8.Caption = IIf(rst(3), "是", "否")
    Label10.Caption = IIf(rst(4), "是", "否")
    Label12.Caption = rst(5)
    Label14.Caption = rst(6)
    Label16.Caption = rst(7)
    Label18.Caption = rst(8)
    rst.Close
    cn.Close
    
End Sub

⌨️ 快捷键说明

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