📄 vb6a.tmp
字号:
TabIndex = 51
Top = 1080
Width = 1815
End
Begin VB.TextBox Text1
Height = 375
Index = 10
Left = -73800
TabIndex = 50
Top = 1080
Width = 1455
End
Begin VB.TextBox Text1
Height = 390
Index = 9
Left = -69120
TabIndex = 49
Top = 2880
Width = 3255
End
Begin VB.TextBox Text1
Height = 375
Index = 8
Left = -73680
TabIndex = 48
Top = 2880
Width = 3255
End
Begin VB.TextBox Text1
Height = 375
Index = 7
Left = -69120
TabIndex = 47
Top = 2280
Width = 3255
End
Begin VB.TextBox Text1
Height = 375
Index = 6
Left = -73680
TabIndex = 46
Top = 2280
Width = 3255
End
Begin VB.TextBox Text1
Height = 375
Index = 5
Left = -68040
TabIndex = 45
Top = 1680
Width = 2175
End
Begin VB.TextBox Text1
Height = 375
Index = 4
Left = -73320
TabIndex = 44
Top = 1680
Width = 3975
End
Begin VB.TextBox Text1
Height = 375
Index = 3
Left = -66240
TabIndex = 43
Top = 480
Width = 975
End
Begin VB.TextBox Text1
Height = 375
Index = 2
Left = -73680
TabIndex = 42
Top = 3480
Width = 5775
End
Begin VB.TextBox Text1
Height = 375
Index = 1
Left = -71160
TabIndex = 41
Top = 480
Width = 1335
End
Begin MSDataGridLib.DataGrid DataGrid2
Height = 855
Left = 120
TabIndex = 40
Top = 600
Width = 9855
_ExtentX = 17383
_ExtentY = 1508
_Version = 393216
HeadLines = 1
RowHeight = 15
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 MSDataGridLib.DataGrid DataGrid1
Height = 3135
Left = -74880
TabIndex = 39
Top = 480
Width = 9855
_ExtentX = 17383
_ExtentY = 5530
_Version = 393216
HeadLines = 1
RowHeight = 15
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 VB.ComboBox Combo1
Height = 300
ItemData = "Form7.frx":0069
Left = -68520
List = "Form7.frx":0073
TabIndex = 2
Text = "男"
Top = 600
Width = 975
End
Begin VB.TextBox Text1
Height = 375
Index = 0
Left = -73800
TabIndex = 1
Top = 480
Width = 1455
End
Begin VB.Label Label21
Caption = "气表数据:"
Height = 375
Left = 120
TabIndex = 57
Top = 2760
Width = 975
End
Begin VB.Label Label18
Caption = "电表数据:"
Height = 375
Left = 120
TabIndex = 56
Top = 1560
Width = 1215
End
Begin VB.Label Label15
Caption = "水表数据:"
Height = 255
Left = 120
TabIndex = 55
Top = 360
Width = 1095
End
Begin VB.Label Label19
Caption = "迁出时间"
ForeColor = &H00FF0000&
Height = 255
Left = -70080
TabIndex = 18
Top = 3000
Width = 855
End
Begin VB.Label Label17
Caption = "电 话"
ForeColor = &H00FF0000&
Height = 255
Left = -70080
TabIndex = 17
Top = 2400
Width = 855
End
Begin VB.Label Label16
Caption = "入住时间"
ForeColor = &H00FF0000&
Height = 255
Left = -74760
TabIndex = 16
Top = 3000
Width = 855
End
Begin VB.Label Label13
Caption = "身份证号"
ForeColor = &H00FF0000&
Height = 255
Left = -74760
TabIndex = 15
Top = 2400
Width = 855
End
Begin VB.Label Label12
Caption = "平米"
ForeColor = &H00FF0000&
Height = 255
Left = -65640
TabIndex = 14
Top = 1200
Width = 495
End
Begin VB.Label Label11
Caption = "平米"
ForeColor = &H00FF0000&
Height = 255
Left = -69600
TabIndex = 13
Top = 1200
Width = 615
End
Begin VB.Label Label10
Caption = "房 型"
ForeColor = &H00FF0000&
Height = 255
Left = -74760
TabIndex = 12
Top = 1200
Width = 975
End
Begin VB.Label Label9
Caption = "工作单位及地址"
ForeColor = &H00FF0000&
Height = 255
Left = -74760
TabIndex = 11
Top = 1800
Width = 1335
End
Begin VB.Label Label8
Caption = "邮 编"
ForeColor = &H00FF0000&
Height = 255
Left = -69000
TabIndex = 10
Top = 1800
Width = 855
End
Begin VB.Label Label7
Caption = "籍 贯"
ForeColor = &H00FF0000&
Height = 255
Left = -67200
TabIndex = 9
Top = 600
Width = 735
End
Begin VB.Label Label6
Caption = "使用面积"
ForeColor = &H00FF0000&
Height = 255
Left = -68640
TabIndex = 8
Top = 1200
Width = 855
End
Begin VB.Label Label5
Caption = "建筑面积"
ForeColor = &H00FF0000&
Height = 255
Left = -72120
TabIndex = 7
Top = 1200
Width = 855
End
Begin VB.Label Label4
Caption = "性 别"
ForeColor = &H00FF0000&
Height = 255
Left = -69600
TabIndex = 6
Top = 720
Width = 975
End
Begin VB.Label Label3
Caption = "住户姓名"
ForeColor = &H00FF0000&
Height = 255
Left = -72120
TabIndex = 5
Top = 600
Width = 855
End
Begin VB.Label Label2
BackColor = &H8000000B&
Caption = "物业地址"
ForeColor = &H00FF0000&
Height = 255
Left = -74760
TabIndex = 4
Top = 3600
Width = 735
End
Begin VB.Label Label1
Caption = "住户编号"
ForeColor = &H00FF0000&
Height = 255
Left = -74760
TabIndex = 3
Top = 600
Width = 855
End
End
End
Attribute VB_Name = "frmB1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rs_client As New ADODB.Recordset
Dim rs_count As New ADODB.Recordset
'设置一个add变量用于保存时判断是从添加还是修改后保存
Dim add
'定义rs_wuye、rs_water,rs_power,rs_gas为显示该住户物业资料和仪表资料的记录集
Dim rs_wuye As New ADODB.Recordset
Dim rs_water As New ADODB.Recordset
Dim rs_power As New ADODB.Recordset
Dim rs_gas As New ADODB.Recordset
Private Sub cmdclose_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -