地籍登记代码设计:
Private Sub Command1_Click()
Dim m, j As Integer
With frmDengjiStart
.Caption = "初始登记窗口"
.Command4.Visible = False
.Command5.Visible = False
.flxGridhistory.Rows = 52
For m = 1 To .flxGridhistory.Rows - 1
.flxGridhistory.TextMatrix(m, 0) = rs.Fields(m - 1).Name & ""
Next m
For j = 0 To 51
.flxGridhistory.RowHeight(j) = .flxGridhistory.Width / 16
Next j
.Show
End With
xuanze = True
frmdengji.Hide
End Sub
Private Sub Command2_Click()
Dim m, j As Integer
With frmDengjiStart
.Caption = "变更登记窗口"
.Command1.Visible = False
.Command2.Visible = False
.flxGridhistory.Rows = 42
For m = 1 To .flxGridhistory.Rows - 1
.flxGridhistory.TextMatrix(m, 0) = rs1.Fields(m - 1).Name & ""
Next m
For j = 0 To 41
.flxGridhistory.RowHeight(j) = .flxGridhistory.Width / 16
Next j
.Show
End With
xuanze = False
frmdengji.Hide
End Sub
Private Sub Command3_Click()
With frmdengjicuzu
.Caption = "出租登记窗口"
.Label3.Caption = "承租人"
.Label4.Caption = "租赁期限"
.Label5.Caption = "租赁日期"
.Show
End With
'Unload frmdengji
frmdengji.Hide
End Sub
Private Sub Command4_Click()
With frmdengjicuzu
.Caption = "抵押登记窗口"
.Label3.Caption = "债权人"
.Label4.Caption = "抵押期限"
.Label5.Caption = "抵押日期"
.Show
End With
'Unload frmdengji
frmdengji.Hide
End Sub