📄 rpttx.dsr
字号:
Name = "Text2"
Object.Left = 1185
Object.Top = 90
Object.Width = 420
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "CH"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = "0.0000"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
DataMember = "Command1"
EndProperty
ItemType3 = 4
BeginProperty Item3 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text3"
Object.Left = 2610
Object.Top = 90
Object.Width = 750
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "YT"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = "0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
DataMember = "Command1"
EndProperty
ItemType4 = 4
BeginProperty Item4 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text4"
Object.Left = 1605
Object.Top = 90
Object.Width = 1005
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "HS"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = "0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
DataMember = "Command1"
EndProperty
ItemType5 = 4
BeginProperty Item5 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text5"
Object.Left = 3360
Object.Top = 90
Object.Width = 1020
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "Harea"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = "0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
DataMember = "Command1"
EndProperty
ItemType6 = 4
BeginProperty Item6 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text6"
Object.Left = 5430
Object.Top = 90
Object.Width = 1110
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "Dcftmj"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = "0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
DataMember = "Command1"
EndProperty
ItemType7 = 4
BeginProperty Item7 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text7"
Object.Left = 4380
Object.Top = 90
Object.Width = 1050
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "YCftmj"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = "0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
DataMember = "Command1"
EndProperty
ItemType8 = 5
BeginProperty Item8 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line1"
Object.Left = 1185
Object.Top = 15
Object.Height = 375
EndProperty
ItemType9 = 5
BeginProperty Item9 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line2"
Object.Left = 1605
Object.Top = 15
Object.Height = 375
EndProperty
ItemType10 = 5
BeginProperty Item10 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line3"
Object.Left = 3360
Object.Top = 15
Object.Height = 375
EndProperty
ItemType11 = 5
BeginProperty Item11 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line4"
Object.Left = 2610
Object.Height = 375
EndProperty
ItemType12 = 5
BeginProperty Item12 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line7"
Object.Left = 4380
Object.Top = 15
Object.Height = 375
EndProperty
ItemType13 = 5
BeginProperty Item13 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line8"
Object.Left = 5430
Object.Top = 15
Object.Height = 375
EndProperty
ItemType14 = 5
BeginProperty Item14 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line10"
Object.Left = 6540
Object.Top = 15
Object.Height = 375
EndProperty
ItemType15 = 5
BeginProperty Item15 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line12"
Object.Left = 7470
Object.Top = 15
Object.Height = 375
EndProperty
ItemType16 = 4
BeginProperty Item16 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text8"
Object.Left = 6540
Object.Top = 90
Object.Width = 930
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "Glmj"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = "0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
DataMember = "Command1"
EndProperty
ItemType17 = 4
BeginProperty Item17 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text10"
Object.Left = 7470
Object.Top = 90
Object.Width = 1065
Object.Height = 255
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "Jzmj"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = "0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
DataMember = "Command1"
EndProperty
EndProperty
SectionCode3 = 7
BeginProperty Section3 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section3"
NumControls = 0
EndProperty
SectionCode4 = 8
BeginProperty Section4 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section5"
NumControls = 0
EndProperty
End
Attribute VB_Name = "rptTX"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'当前层名
Public Property Let LayerName(ByVal szLayerName As String)
Dim rs As ADODB.Recordset
Dim sect As Section
On Error Resume Next
Set rs = MAP_CONN.Execute("SELECT * FROM tbTable WHERE LyrName='" & szLayerName & "'")
Set sect = Me.Sections("section4")
If Not rs.EOF Then
'sect.Controls("lblBgh").Caption = "" & rs("Bgh")
sect.Controls("lblBgh").Caption = szLayerName
sect.Controls("lblBjcdw").Caption = "" & rs("Bjcdw")
sect.Controls("lblCly").Caption = "" & rs("Cly")
sect.Controls("lblHyy").Caption = "" & rs("Hyy")
sect.Controls("lblJzmc").Caption = "" & rs("Jzmc")
sect.Controls("lblZl").Caption = "" & rs("zl")
sect.Controls("lblCs").Caption = CStr(Round(rs("Cs"), 0))
sect.Controls("lblZjzmj").Caption = CStr(Round(rs("Zjzmj"), 4))
sect.Controls("lblZgymj").Caption = CStr(Round(rs("Zgymj"), 4))
sect.Controls("lblZtljzmj").Caption = CStr(Round(rs("Ztljzmj"), 4))
sect.Controls("lblZglmj").Caption = CStr(Round(rs("Zglmj"), 4))
sect.Controls("lblZftxs").Caption = Format(CStr(Round(rs("Zftxs"), 6)), "0.000000")
sect.Controls("lblMemo").Caption = "" & rs("Memo")
End If
End Property
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -