📄 z
字号:
Key = "yl"
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":35BD4
Key = "xg"
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":35F6E
Key = "zh"
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":36308
Key = "sh"
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":366A2
Key = "bc"
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":36A3C
Key = "fq"
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":36DD6
Key = "bz"
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":37170
Key = "tc"
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3750A
Key = "bcgs"
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":378A4
Key = "mrlk"
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":37C3E
Key = "xsxm"
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":37FD8
Key = "first"
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":38372
Key = "prev"
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3870C
Key = "next"
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":38AA6
Key = "last"
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":38E40
Key = "xx"
EndProperty
BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":391DA
Key = "define"
EndProperty
BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":39574
Key = "exec"
EndProperty
BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3990E
Key = "xz"
EndProperty
BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":39CA8
Key = "sc"
EndProperty
BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3A042
Key = "sx"
EndProperty
BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3A3DC
Key = "cx"
EndProperty
BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3A776
Key = "zd"
EndProperty
BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3AB10
Key = "dz"
EndProperty
BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3AEAA
Key = "ph"
EndProperty
BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3B244
Key = "fz"
EndProperty
BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3B5DE
Key = "dw"
EndProperty
BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3B978
Key = "hf"
EndProperty
BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3BD12
Key = "pz"
EndProperty
BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3C0AC
Key = "check"
EndProperty
BeginProperty ListImage33 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3C446
Key = "zz"
EndProperty
BeginProperty ListImage34 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3C7E0
Key = "mx"
EndProperty
BeginProperty ListImage35 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "z报表分析_资产负债表分析2.frx":3CB7A
Key = "lj"
EndProperty
EndProperty
End
End
Begin vsElasticLightLibCtl.vsElasticLight vsElasticLight1
Left = 7380
OleObjectBlob = "z报表分析_资产负债表分析2.frx":3CF14
Top = 30
End
End
Attribute VB_Name = "BBFX_FrmBalFx2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Const DATE_FIX = "/" '日期分隔符
Public iThisYear As Integer '本年
Public iThisMonthBegin As Integer '本年月起始
Public iThisMonthEnd As Integer '本年终止月
Public iCompYear As Integer '比较年
Public iCompMonthBegin As Integer '比较年月开始
Public iCompMonthEnd As Integer '比较年终止月
Public intType As Integer '比较类型,0按月、1按季、2按年
Public strItem As String '资产负债表的分枝类别,与树型菜单一致
Public bSeach As Boolean '是否执行查询
Private myclsBal As New clsBal '资产负债表类
Private Rs As New ADODB.Recordset
Private GridStarCol As Integer ' = 2 '网格起始数据列
'private const
Dim itype As Integer
Dim iYear As Integer
Dim iExYear As Integer
Dim iBeginMonth As Integer
Dim iEndMonth As Integer
Dim iWriteCols As Integer '循环写入列数(用于写数据到网格)
Dim iWriteRows As Integer '循环写入行数
Private dbl_ZiChan As Double '资产合计(本期)
Private dbl_FuZhai As Double '负债合计(本期)
Private dbl_ZiChanComp As Double '资产合计(比较期)
Private dbl_FuZhaiComp As Double '负债合计(比较期)
'Dim mySeachForm As New pub_SelDate '定义查询窗体
Dim ReportTitle As String '报表主标题
'以下为固定使用变量
Dim Dyymctbl As New DY_Dyymsz '打印页面窗体变量
Dim GridCode As String '显示网格网格代码
Dim GridInf() As Variant '整个网格设置信息
Dim Tsxx As String '系统提示信息
Dim Qslz As Long '网格隐藏(非操作显示)列数
Dim Sjhgd As Double '网格数据行高度
Dim Sfxshjwg As Boolean '是否显示合计网格
Dim GridBoolean() As Boolean '网格列信息(布尔型)
Dim GridStr() As String '网格列信息(字符型)
Dim GridInt() As Integer '网格列信息(整型)
Dim Szzls As Integer '数组总列数(网格列数-1)
Dim Bln_Stop As Boolean '停止输出查询结果
Private Sub Form_Resize() '根据窗体大小来调整网格,标题栏大小
On Error Resume Next
With CxbbGrid
.Width = Me.Width - 160
.Height = Me.Height - .Top - 400
End With
With Pic_Title
.Width = Me.Width - 160
End With
GsToolbar.Left = Me.Width - GsToolbar.Width - 160
End Sub
Private Sub Form_Load() '窗体装入
If DEBUG_FLAG = False Then On Error Resume Next
'调入打印页面设置窗体
XtReportCode = "cwfx_BaseGuideLine"
Load Dyymctbl
End Sub
Public Sub FormInit() '窗体初始化
If DEBUG_FLAG = False Then On Error Resume Next
'Call FormatHead '初始化参数
ReportTitle = Me.TsLabel(4).Caption '打印标题
myclsBal.Init Cw_DataEnvi.DataConnect '初始化资产负债表类
GridCode = strItem '此变量在“系统私有模块中赋值(BalFx2)
Call BzWgcsh(CxbbGrid, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
Qslz = GridInf(1)
Sjhgd = GridInf(2)
Sfxshjwg = GridInf(7)
Szzls = CxbbGrid.Cols - 1
'--------------填充数据-----------------------------
Select Case intType
Case 0 '月
lab_fx.Caption = CStr(iThisYear) & "." & CStr(iThisMonthBegin)
If iCompMonthEnd = 0 Then
lab_bj.Caption = ""
Else
lab_bj.Caption = CStr(iCompYear) & "." & CStr(iCompMonthEnd)
End If
Case 1 '季
lab_fx.Caption = CStr(iThisYear) & "." & CStr(iThisMonthBegin) & "-" & CStr(iThisYear) & "." & CStr(iThisMonthEnd)
If iCompYear = 0 Then
lab_bj.Caption = ""
Else
lab_bj.Caption = CStr(iCompYear) & "." & CStr(iCompMonthBegin) & "-" & CStr(iCompYear) & "." & CStr(iCompMonthEnd)
End If
Case 2 '年
lab_fx.Caption = CStr(iThisYear)
If iCompYear = 0 Then
lab_bj.Caption = ""
Else
lab_bj.Caption = CStr(iCompYear)
End If
End Select
CxbbGrid.Redraw = False
Call GetBalZiChan
' Call AddGridCol
GridStarCol = 2
'Call FillGrid '写入数据
' GridStarCol = CxbbGrid.Cols + 1
'
' Call GetBalFuZhai
' 'Call AddGridCol
' 'Call FillGrid '写入数据
CxbbGrid.Redraw = True
'------------------------------------------------
End Sub
Private Sub Form_Unload(Cancel As Integer) '窗体卸载
On Error Resume Next
'卸载打印页面设置窗体
Unload Dyymctbl
Unload mySeachForm '卸载查询窗体
Set myclsBal = Nothing
End Sub
Private Sub GsToolbar_ButtonClick(ByVal Button As MSComctlLib.Button) '网格格式调整
If DEBUG_FLAG = False Then On Error Resume Next
Select Case Button.Key
Case "bcgs" '保存表格格式
Call Bcwggs(CxbbGrid, GridCode)
Case "hfmrgs" '恢复默认格式
Call Hfmrgs(CxbbGrid, GridCode)
Case "szxsxm" '设置显示项目
Call Szxsxm(CxbbGrid, GridCode)
End Select
End Sub
Private Sub SzToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
If DEBUG_FLAG = False Then On Error Resume Next
Select Case Button.Key
Case "ymsz" '页面设置
Dyymctbl.Show 1
Case "yl" '预 览
Call bbyl(True)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -