📄
字号:
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "凭证"
Key = "pz"
ImageKey = "pz"
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "帮助"
Key = "bz"
ImageKey = "bz"
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "fh"
ImageKey = "tc"
EndProperty
EndProperty
BorderStyle = 1
Begin MSComctlLib.Toolbar GsToolbar
Height = 525
Left = 9720
TabIndex = 14
Top = 0
Width = 1665
_ExtentX = 2937
_ExtentY = 926
ButtonWidth = 1455
ButtonHeight = 926
AllowCustomize = 0 'False
Appearance = 1
Style = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 2
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "保存格式"
Key = "bcgs"
ImageKey = "bcgs"
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "默认列宽"
Key = "hfmrgs"
ImageKey = "mrlk"
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList1
Left = 8460
Top = -30
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 32
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":35106
Key = "sz"
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":354A0
Key = "dy"
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3583A
Key = "yl"
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":35BD4
Key = "xg"
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":35F6E
Key = "zh"
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":36308
Key = "sh"
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":366A2
Key = "bc"
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":36A3C
Key = "fq"
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":36DD6
Key = "bz"
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":37170
Key = "tc"
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3750A
Key = "bcgs"
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":378A4
Key = "mrlk"
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":37C3E
Key = "xsxm"
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":37FD8
Key = "first"
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":38372
Key = "prev"
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3870C
Key = "next"
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":38AA6
Key = "last"
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":38E40
Key = "xx"
EndProperty
BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":391DA
Key = "define"
EndProperty
BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":39574
Key = "exec"
EndProperty
BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3990E
Key = "xz"
EndProperty
BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":39CA8
Key = "sc"
EndProperty
BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3A042
Key = "sx"
EndProperty
BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3A3DC
Key = "cx"
EndProperty
BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3A776
Key = "zd"
EndProperty
BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3AB10
Key = "dz"
EndProperty
BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3AEAA
Key = "ph"
EndProperty
BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3B244
Key = "fz"
EndProperty
BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3B5DE
Key = "dw"
EndProperty
BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3B978
Key = "hf"
EndProperty
BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3BD12
Key = "pz"
EndProperty
BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "辅助_部门_多栏帐查询结果.frx":3C0AC
Key = "check"
EndProperty
EndProperty
End
End
End
Attribute VB_Name = "ZF_Bm_FrmDlzCxjg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'* 模 块 名 称 :科目多栏帐
'* 功 能 描 述 :本功能用于查询某多栏帐在某月或某几月的明细帐情况
'* 并且能够进行立体联查凭证数据。
'* 程序员姓名 :张建忠
'* 最后修改人 :奚俊峰
'* 最后修改时间:2001.12.23
'* 备 注:注意当两个表进行模糊连接操作时,应该对表字段进行去 "空格"
'****************************************************************************
Dim ReportTitle As String '报表主标题
Dim Str_AnalyCol() As String '分析方向与网格列值对应表
Dim Str_ItemCol() As String '科目与网格列值对照表
Dim Str_AccMultiCode 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)
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 - 140
End Sub
Private Sub Form_Load() '窗体装入
'调入打印页面设置窗体
XtReportCode = "Cwzz_dlzcx"
Load Dyymctbl
ReportTitle = "多 栏 帐"
'调整标题栏及网格、格式工具条位置
Pic_Title.Left = 40
Pic_Title.Top = SzToolbar.Top + SzToolbar.Height - 10
CxbbGrid.Left = Pic_Title.Left
CxbbGrid.Top = Pic_Title.Top + Pic_Title.Height + 20
'调 入 网 格
GridCode = "Cwzz_dlzcx"
Call BzWgcsh(CxbbGrid, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
Qslz = GridInf(1)
Sjhgd = GridInf(2)
Sfxshjwg = GridInf(7)
Szzls = CxbbGrid.Cols - 1
'调整标题位置
SetTitlePos tsLabel(4)
End Sub
Private Sub Form_Unload(Cancel As Integer) '窗体卸载
'卸载条件窗体
ZF_Bm_FrmDlzCxTj.UnloadCheck.Value = 1
Unload ZF_Bm_FrmDlzCxTj
'卸载打印页面设置窗体
Unload Dyymctbl
End Sub
Private Sub Timer1_Timer() '在窗体激活后调入查询程序
Dim RecTemp As New ADODB.Recordset
Dim Dbl_ColWidth As Double '多栏帐多栏部分网格宽度
Dim Jsqte As Integer
Dbl_ColWidth = 1650 '支持金额到百亿
'关闭定时器
Timer1.Enabled = False
'重新设置网格
If ZF_Bm_FrmDlzCxTj.Imgebo_Dlz.ComboItems.count = 0 Then
Exit Sub
End If
Str_AccMultiCode = GetComboKey(ZF_Bm_FrmDlzCxTj.Imgebo_Dlz, 0)
Set RecTemp = Cw_DataEnvi.DataConnect.Execute("Select * From Cwzz_AccMultiItem Where AccMultiCode='" & Str_AccMultiCode & "' Order By AnalyseOri Desc")
CxbbGrid.Cols = Szzls + 1 + RecTemp.RecordCount
ReDim Str_ItemCol(CxbbGrid.Cols - 1)
ReDim Str_AnalyCol(CxbbGrid.Cols - 1)
Jsqte = Szzls + 1
Do While Not RecTemp.EOF
Str_ItemCol(Jsqte) = Trim(RecTemp.Fields("Ccode") & "") '核算科目
Str_AnalyCol(Jsqte) = Trim(RecTemp.Fields("AnalyseOri") & "") '分析方向
CxbbGrid.TextMatrix(0, Jsqte) = Trim(RecTemp.Fields("AnalyseOri") & "") + Space(2) + "方"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -