ʰ
上传用户:zhpu1995
上传日期:2013-09-06
资源大小:61151k
文件大小:36k
源码类别:

企业管理

开发平台:

Visual Basic

  1. VERSION 5.00
  2. Object = "{BEEECC20-4D5F-4F8B-BFDC-5D9B6FBDE09D}#1.0#0"; "vsflex8.ocx"
  3. Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
  4. Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
  5. Begin VB.Form YH_FrmDzcx 
  6.    BackColor       =   &H00FFFFFF&
  7.    Caption         =   "对帐查询"
  8.    ClientHeight    =   7530
  9.    ClientLeft      =   60
  10.    ClientTop       =   345
  11.    ClientWidth     =   9870
  12.    HelpContextID   =   5105
  13.    Icon            =   "银行_对帐查询.frx":0000
  14.    LinkTopic       =   "Form1"
  15.    MDIChild        =   -1  'True
  16.    ScaleHeight     =   7530
  17.    ScaleWidth      =   9870
  18.    Begin TabDlg.SSTab SSTab1 
  19.       Height          =   5910
  20.       Left            =   -30
  21.       TabIndex        =   5
  22.       Top             =   1665
  23.       Width           =   9945
  24.       _ExtentX        =   17542
  25.       _ExtentY        =   10425
  26.       _Version        =   393216
  27.       Style           =   1
  28.       Tabs            =   2
  29.       Tab             =   1
  30.       TabsPerRow      =   2
  31.       TabHeight       =   520
  32.       TabMaxWidth     =   3528
  33.       TabCaption(0)   =   "银行对帐单"
  34.       TabPicture(0)   =   "银行_对帐查询.frx":1042
  35.       Tab(0).ControlEnabled=   0   'False
  36.       Tab(0).Control(0)=   "CxbbGrid"
  37.       Tab(0).ControlCount=   1
  38.       TabCaption(1)   =   "单位日记帐"
  39.       TabPicture(1)   =   "银行_对帐查询.frx":105E
  40.       Tab(1).ControlEnabled=   -1  'True
  41.       Tab(1).Control(0)=   "vsFlexGrid1"
  42.       Tab(1).Control(0).Enabled=   0   'False
  43.       Tab(1).ControlCount=   1
  44.       Begin VSFlex8Ctl.VSFlexGrid CxbbGrid 
  45.          Height          =   5530
  46.          Left            =   -74970
  47.          TabIndex        =   6
  48.          Top             =   350
  49.          Width           =   9900
  50.          _cx             =   5080
  51.          _cy             =   5080
  52.          Appearance      =   1
  53.          BorderStyle     =   1
  54.          Enabled         =   -1  'True
  55.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  56.             Name            =   "宋体"
  57.             Size            =   9
  58.             Charset         =   134
  59.             Weight          =   400
  60.             Underline       =   0   'False
  61.             Italic          =   0   'False
  62.             Strikethrough   =   0   'False
  63.          EndProperty
  64.          MousePointer    =   0
  65.          BackColor       =   16777215
  66.          ForeColor       =   -2147483640
  67.          BackColorFixed  =   12632256
  68.          ForeColorFixed  =   -2147483630
  69.          BackColorSel    =   -2147483635
  70.          ForeColorSel    =   -2147483634
  71.          BackColorBkg    =   -2147483636
  72.          BackColorAlternate=   16777215
  73.          GridColor       =   -2147483633
  74.          GridColorFixed  =   -2147483632
  75.          TreeColor       =   -2147483632
  76.          FloodColor      =   192
  77.          SheetBorder     =   -2147483642
  78.          FocusRect       =   1
  79.          HighLight       =   1
  80.          AllowSelection  =   -1  'True
  81.          AllowBigSelection=   -1  'True
  82.          AllowUserResizing=   0
  83.          SelectionMode   =   0
  84.          GridLines       =   1
  85.          GridLinesFixed  =   2
  86.          GridLineWidth   =   1
  87.          Rows            =   50
  88.          Cols            =   10
  89.          FixedRows       =   1
  90.          FixedCols       =   1
  91.          RowHeightMin    =   0
  92.          RowHeightMax    =   0
  93.          ColWidthMin     =   0
  94.          ColWidthMax     =   0
  95.          ExtendLastCol   =   0   'False
  96.          FormatString    =   ""
  97.          ScrollTrack     =   0   'False
  98.          ScrollBars      =   3
  99.          ScrollTips      =   0   'False
  100.          MergeCells      =   0
  101.          MergeCompare    =   0
  102.          AutoResize      =   -1  'True
  103.          AutoSizeMode    =   0
  104.          AutoSearch      =   0
  105.          AutoSearchDelay =   2
  106.          MultiTotals     =   -1  'True
  107.          SubtotalPosition=   1
  108.          OutlineBar      =   0
  109.          OutlineCol      =   0
  110.          Ellipsis        =   0
  111.          ExplorerBar     =   0
  112.          PicturesOver    =   0   'False
  113.          FillStyle       =   0
  114.          RightToLeft     =   0   'False
  115.          PictureType     =   0
  116.          TabBehavior     =   0
  117.          OwnerDraw       =   0
  118.          Editable        =   0
  119.          ShowComboButton =   1
  120.          WordWrap        =   0   'False
  121.          TextStyle       =   0
  122.          TextStyleFixed  =   0
  123.          OleDragMode     =   0
  124.          OleDropMode     =   0
  125.          DataMode        =   0
  126.          VirtualData     =   -1  'True
  127.          DataMember      =   ""
  128.          ComboSearch     =   3
  129.          AutoSizeMouse   =   -1  'True
  130.          FrozenRows      =   0
  131.          FrozenCols      =   0
  132.          AllowUserFreezing=   0
  133.          BackColorFrozen =   0
  134.          ForeColorFrozen =   0
  135.          WallPaperAlignment=   9
  136.          AccessibleName  =   ""
  137.          AccessibleDescription=   ""
  138.          AccessibleValue =   ""
  139.          AccessibleRole  =   24
  140.       End
  141.       Begin VSFlex8Ctl.VSFlexGrid vsFlexGrid1 
  142.          Height          =   5505
  143.          Left            =   30
  144.          TabIndex        =   7
  145.          Top             =   345
  146.          Width           =   9870
  147.          _cx             =   5080
  148.          _cy             =   5080
  149.          Appearance      =   1
  150.          BorderStyle     =   1
  151.          Enabled         =   -1  'True
  152.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  153.             Name            =   "宋体"
  154.             Size            =   9
  155.             Charset         =   134
  156.             Weight          =   400
  157.             Underline       =   0   'False
  158.             Italic          =   0   'False
  159.             Strikethrough   =   0   'False
  160.          EndProperty
  161.          MousePointer    =   0
  162.          BackColor       =   16777215
  163.          ForeColor       =   -2147483640
  164.          BackColorFixed  =   12632256
  165.          ForeColorFixed  =   -2147483630
  166.          BackColorSel    =   -2147483635
  167.          ForeColorSel    =   -2147483634
  168.          BackColorBkg    =   -2147483636
  169.          BackColorAlternate=   16777215
  170.          GridColor       =   -2147483633
  171.          GridColorFixed  =   -2147483632
  172.          TreeColor       =   -2147483632
  173.          FloodColor      =   192
  174.          SheetBorder     =   -2147483642
  175.          FocusRect       =   1
  176.          HighLight       =   1
  177.          AllowSelection  =   -1  'True
  178.          AllowBigSelection=   -1  'True
  179.          AllowUserResizing=   0
  180.          SelectionMode   =   0
  181.          GridLines       =   1
  182.          GridLinesFixed  =   2
  183.          GridLineWidth   =   1
  184.          Rows            =   50
  185.          Cols            =   10
  186.          FixedRows       =   1
  187.          FixedCols       =   1
  188.          RowHeightMin    =   0
  189.          RowHeightMax    =   0
  190.          ColWidthMin     =   0
  191.          ColWidthMax     =   0
  192.          ExtendLastCol   =   0   'False
  193.          FormatString    =   ""
  194.          ScrollTrack     =   0   'False
  195.          ScrollBars      =   3
  196.          ScrollTips      =   0   'False
  197.          MergeCells      =   0
  198.          MergeCompare    =   0
  199.          AutoResize      =   -1  'True
  200.          AutoSizeMode    =   0
  201.          AutoSearch      =   0
  202.          AutoSearchDelay =   2
  203.          MultiTotals     =   -1  'True
  204.          SubtotalPosition=   1
  205.          OutlineBar      =   0
  206.          OutlineCol      =   0
  207.          Ellipsis        =   0
  208.          ExplorerBar     =   0
  209.          PicturesOver    =   0   'False
  210.          FillStyle       =   0
  211.          RightToLeft     =   0   'False
  212.          PictureType     =   0
  213.          TabBehavior     =   0
  214.          OwnerDraw       =   0
  215.          Editable        =   0
  216.          ShowComboButton =   1
  217.          WordWrap        =   0   'False
  218.          TextStyle       =   0
  219.          TextStyleFixed  =   0
  220.          OleDragMode     =   0
  221.          OleDropMode     =   0
  222.          DataMode        =   0
  223.          VirtualData     =   -1  'True
  224.          DataMember      =   ""
  225.          ComboSearch     =   3
  226.          AutoSizeMouse   =   -1  'True
  227.          FrozenRows      =   0
  228.          FrozenCols      =   0
  229.          AllowUserFreezing=   0
  230.          BackColorFrozen =   0
  231.          ForeColorFrozen =   0
  232.          WallPaperAlignment=   9
  233.          AccessibleName  =   ""
  234.          AccessibleDescription=   ""
  235.          AccessibleValue =   ""
  236.          AccessibleRole  =   24
  237.       End
  238.    End
  239.    Begin VB.PictureBox Pic_Title 
  240.       Height          =   1065
  241.       Left            =   0
  242.       Picture         =   "银行_对帐查询.frx":107A
  243.       ScaleHeight     =   1005
  244.       ScaleWidth      =   9840
  245.       TabIndex        =   0
  246.       Top             =   564
  247.       Width           =   9900
  248.       Begin VB.Label Lab_TitleMess 
  249.          AutoSize        =   -1  'True
  250.          BackStyle       =   0  'Transparent
  251.          Caption         =   "银行科目:"
  252.          Height          =   180
  253.          Index           =   1
  254.          Left            =   915
  255.          TabIndex        =   13
  256.          Top             =   750
  257.          Width           =   810
  258.       End
  259.       Begin VB.Label Lab_Bill 
  260.          Appearance      =   0  'Flat
  261.          AutoSize        =   -1  'True
  262.          BackColor       =   &H80000005&
  263.          BackStyle       =   0  'Transparent
  264.          Caption         =   "已勾对"
  265.          ForeColor       =   &H00000000&
  266.          Height          =   180
  267.          Index           =   0
  268.          Left            =   7830
  269.          TabIndex        =   12
  270.          Top             =   210
  271.          Width           =   540
  272.       End
  273.       Begin VB.Label Label3 
  274.          Appearance      =   0  'Flat
  275.          BackColor       =   &H00E9FC61&
  276.          BorderStyle     =   1  'Fixed Single
  277.          ForeColor       =   &H80000008&
  278.          Height          =   180
  279.          Index           =   0
  280.          Left            =   7380
  281.          TabIndex        =   11
  282.          Top             =   217
  283.          Width           =   390
  284.       End
  285.       Begin VB.Label Lab_Bill 
  286.          Appearance      =   0  'Flat
  287.          AutoSize        =   -1  'True
  288.          BackColor       =   &H80000005&
  289.          BackStyle       =   0  'Transparent
  290.          Caption         =   "未勾对"
  291.          ForeColor       =   &H00000000&
  292.          Height          =   180
  293.          Index           =   1
  294.          Left            =   8970
  295.          TabIndex        =   10
  296.          Top             =   210
  297.          Width           =   540
  298.       End
  299.       Begin VB.Label Label3 
  300.          Appearance      =   0  'Flat
  301.          BackColor       =   &H80000005&
  302.          BorderStyle     =   1  'Fixed Single
  303.          ForeColor       =   &H80000008&
  304.          Height          =   180
  305.          Index           =   1
  306.          Left            =   8520
  307.          TabIndex        =   9
  308.          Top             =   210
  309.          Width           =   390
  310.       End
  311.       Begin VB.Label Label1 
  312.          AutoSize        =   -1  'True
  313.          BackStyle       =   0  'Transparent
  314.          Height          =   180
  315.          Left            =   1785
  316.          TabIndex        =   8
  317.          Top             =   750
  318.          Width           =   90
  319.       End
  320.       Begin VB.Label Lab_TitleText 
  321.          AutoSize        =   -1  'True
  322.          BackStyle       =   0  'Transparent
  323.          ForeColor       =   &H00000000&
  324.          Height          =   180
  325.          Index           =   0
  326.          Left            =   8340
  327.          TabIndex        =   3
  328.          Top             =   750
  329.          Width           =   90
  330.       End
  331.       Begin VB.Label TsLabel 
  332.          AutoSize        =   -1  'True
  333.          BackColor       =   &H80000018&
  334.          BackStyle       =   0  'Transparent
  335.          Caption         =   "对帐单勾对情况查询"
  336.          BeginProperty Font 
  337.             Name            =   "宋体"
  338.             Size            =   14.25
  339.             Charset         =   134
  340.             Weight          =   700
  341.             Underline       =   0   'False
  342.             Italic          =   0   'False
  343.             Strikethrough   =   0   'False
  344.          EndProperty
  345.          ForeColor       =   &H00000000&
  346.          Height          =   285
  347.          Index           =   4
  348.          Left            =   495
  349.          TabIndex        =   2
  350.          Top             =   150
  351.          Width           =   2700
  352.       End
  353.       Begin VB.Label Lab_TitleMess 
  354.          AutoSize        =   -1  'True
  355.          BackStyle       =   0  'Transparent
  356.          Caption         =   "会计期间:"
  357.          Height          =   180
  358.          Index           =   0
  359.          Left            =   7380
  360.          TabIndex        =   1
  361.          Top             =   750
  362.          Width           =   810
  363.       End
  364.    End
  365.    Begin MSComctlLib.Toolbar SzToolbar 
  366.       Align           =   1  'Align Top
  367.       Height          =   555
  368.       Left            =   0
  369.       TabIndex        =   4
  370.       Top             =   0
  371.       Width           =   9870
  372.       _ExtentX        =   17410
  373.       _ExtentY        =   979
  374.       ButtonWidth     =   820
  375.       ButtonHeight    =   926
  376.       AllowCustomize  =   0   'False
  377.       Appearance      =   1
  378.       Style           =   1
  379.       ImageList       =   "ImageList1"
  380.       _Version        =   393216
  381.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  382.          NumButtons      =   9
  383.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  384.             Caption         =   "设置"
  385.             Key             =   "ymsz"
  386.             ImageKey        =   "sz"
  387.          EndProperty
  388.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  389.             Caption         =   "打印"
  390.             Key             =   "dy"
  391.             ImageKey        =   "dy"
  392.          EndProperty
  393.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  394.             Caption         =   "预览"
  395.             Key             =   "yl"
  396.             ImageKey        =   "yl"
  397.          EndProperty
  398.          BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  399.             Style           =   3
  400.          EndProperty
  401.          BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  402.             Caption         =   "选择"
  403.             Key             =   "sel"
  404.             ImageIndex      =   19
  405.          EndProperty
  406.          BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  407.             Style           =   3
  408.          EndProperty
  409.          BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  410.             Caption         =   "帮助"
  411.             Key             =   "bz"
  412.             ImageKey        =   "bz"
  413.          EndProperty
  414.          BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  415.             Style           =   3
  416.          EndProperty
  417.          BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  418.             Caption         =   "退出"
  419.             Key             =   "fh"
  420.             ImageKey        =   "tc"
  421.          EndProperty
  422.       EndProperty
  423.       BorderStyle     =   1
  424.       Begin MSComctlLib.Toolbar GsToolbar 
  425.          Height          =   525
  426.          Left            =   7380
  427.          TabIndex        =   14
  428.          Top             =   0
  429.          Width           =   2475
  430.          _ExtentX        =   4366
  431.          _ExtentY        =   926
  432.          ButtonWidth     =   1455
  433.          ButtonHeight    =   926
  434.          AllowCustomize  =   0   'False
  435.          Appearance      =   1
  436.          Style           =   1
  437.          ImageList       =   "ImageList1"
  438.          _Version        =   393216
  439.          BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  440.             NumButtons      =   3
  441.             BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  442.                Caption         =   "保存格式"
  443.                Key             =   "bcgs"
  444.                ImageKey        =   "bcgs"
  445.             EndProperty
  446.             BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  447.                Caption         =   "默认列宽"
  448.                Key             =   "hfmrgs"
  449.                ImageKey        =   "mrlk"
  450.             EndProperty
  451.             BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  452.                Caption         =   "显示项目"
  453.                Key             =   "szxsxm"
  454.                ImageKey        =   "xsxm"
  455.             EndProperty
  456.          EndProperty
  457.       End
  458.       Begin MSComctlLib.ImageList ImageList1 
  459.          Left            =   4620
  460.          Top             =   0
  461.          _ExtentX        =   1005
  462.          _ExtentY        =   1005
  463.          BackColor       =   -2147483643
  464.          ImageWidth      =   16
  465.          ImageHeight     =   16
  466.          MaskColor       =   12632256
  467.          _Version        =   393216
  468.          BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  469.             NumListImages   =   32
  470.             BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  471.                Picture         =   "银行_对帐查询.frx":3513E
  472.                Key             =   "sz"
  473.             EndProperty
  474.             BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  475.                Picture         =   "银行_对帐查询.frx":354D8
  476.                Key             =   "dy"
  477.             EndProperty
  478.             BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  479.                Picture         =   "银行_对帐查询.frx":35872
  480.                Key             =   "yl"
  481.             EndProperty
  482.             BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  483.                Picture         =   "银行_对帐查询.frx":35C0C
  484.                Key             =   "xg"
  485.             EndProperty
  486.             BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  487.                Picture         =   "银行_对帐查询.frx":35FA6
  488.                Key             =   "zh"
  489.             EndProperty
  490.             BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  491.                Picture         =   "银行_对帐查询.frx":36340
  492.                Key             =   "sh"
  493.             EndProperty
  494.             BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  495.                Picture         =   "银行_对帐查询.frx":366DA
  496.                Key             =   "bc"
  497.             EndProperty
  498.             BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  499.                Picture         =   "银行_对帐查询.frx":36A74
  500.                Key             =   "fq"
  501.             EndProperty
  502.             BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  503.                Picture         =   "银行_对帐查询.frx":36E0E
  504.                Key             =   "bz"
  505.             EndProperty
  506.             BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  507.                Picture         =   "银行_对帐查询.frx":371A8
  508.                Key             =   "tc"
  509.             EndProperty
  510.             BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  511.                Picture         =   "银行_对帐查询.frx":37542
  512.                Key             =   "bcgs"
  513.             EndProperty
  514.             BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  515.                Picture         =   "银行_对帐查询.frx":378DC
  516.                Key             =   "mrlk"
  517.             EndProperty
  518.             BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  519.                Picture         =   "银行_对帐查询.frx":37C76
  520.                Key             =   "xsxm"
  521.             EndProperty
  522.             BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  523.                Picture         =   "银行_对帐查询.frx":38010
  524.                Key             =   "first"
  525.             EndProperty
  526.             BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  527.                Picture         =   "银行_对帐查询.frx":383AA
  528.                Key             =   "prev"
  529.             EndProperty
  530.             BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  531.                Picture         =   "银行_对帐查询.frx":38744
  532.                Key             =   "next"
  533.             EndProperty
  534.             BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  535.                Picture         =   "银行_对帐查询.frx":38ADE
  536.                Key             =   "last"
  537.             EndProperty
  538.             BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  539.                Picture         =   "银行_对帐查询.frx":38E78
  540.                Key             =   "xx"
  541.             EndProperty
  542.             BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  543.                Picture         =   "银行_对帐查询.frx":39212
  544.                Key             =   "define"
  545.             EndProperty
  546.             BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  547.                Picture         =   "银行_对帐查询.frx":395AC
  548.                Key             =   "exec"
  549.             EndProperty
  550.             BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  551.                Picture         =   "银行_对帐查询.frx":39946
  552.                Key             =   "xz"
  553.             EndProperty
  554.             BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  555.                Picture         =   "银行_对帐查询.frx":39CE0
  556.                Key             =   "sc"
  557.             EndProperty
  558.             BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  559.                Picture         =   "银行_对帐查询.frx":3A07A
  560.                Key             =   "sx"
  561.             EndProperty
  562.             BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  563.                Picture         =   "银行_对帐查询.frx":3A414
  564.                Key             =   "cx"
  565.             EndProperty
  566.             BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  567.                Picture         =   "银行_对帐查询.frx":3A7AE
  568.                Key             =   "zd"
  569.             EndProperty
  570.             BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  571.                Picture         =   "银行_对帐查询.frx":3AB48
  572.                Key             =   "dz"
  573.             EndProperty
  574.             BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  575.                Picture         =   "银行_对帐查询.frx":3AEE2
  576.                Key             =   "ph"
  577.             EndProperty
  578.             BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  579.                Picture         =   "银行_对帐查询.frx":3B27C
  580.                Key             =   "fz"
  581.             EndProperty
  582.             BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  583.                Picture         =   "银行_对帐查询.frx":3B616
  584.                Key             =   "dw"
  585.             EndProperty
  586.             BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  587.                Picture         =   "银行_对帐查询.frx":3B9B0
  588.                Key             =   "hf"
  589.             EndProperty
  590.             BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  591.                Picture         =   "银行_对帐查询.frx":3BD4A
  592.                Key             =   "pz"
  593.             EndProperty
  594.             BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  595.                Picture         =   "银行_对帐查询.frx":3C0E4
  596.                Key             =   "check"
  597.             EndProperty
  598.          EndProperty
  599.       End
  600.    End
  601. End
  602. Attribute VB_Name = "YH_FrmDzcx"
  603. Attribute VB_GlobalNameSpace = False
  604. Attribute VB_Creatable = False
  605. Attribute VB_PredeclaredId = True
  606. Attribute VB_Exposed = False
  607. '*************************************************************
  608. '*    模 块 名 称 :银行对帐勾对情况查询
  609. '*    功 能 描 述 :查询银行对帐勾对情况
  610. '*    程序员姓名  : xjl
  611. '*    最后修改人  : xjl
  612. '*    最后修改时间:2001/07/16
  613. '*    备        注:
  614. '*************************************************************
  615.  
  616. '==============用于标识TAB控件的两个标签(bsj)===========
  617. Const STAB_BANK = 0  '银行对账单
  618. Const STAB_COM = 1   '单位日记账
  619. '=======================================================
  620. Dim ReportTitle As String                '报表主标题
  621.   
  622. '以下为固定使用变量(网格)
  623. Dim Dyymctbl As New DY_Dyymsz            '打印页面窗体变量
  624. Dim GridCode As String                   '显示网格网格代码
  625. Dim GridInf() As Variant                 '整个网格设置信息
  626. Dim Qslz As Long                         '网格隐藏(非操作显示)列数
  627. Dim Sjhgd As Double                      '网格数据行高度
  628. Dim GridBoolean() As Boolean             '网格列信息(布尔型)
  629. Dim GridStr()  As String                 '网格列信息(字符型)
  630. Dim GridInt() As Integer                 '网格列信息(整型)
  631. Dim Szzls As Integer                     '数组总列数(网格列数-1)
  632. '窗体装入
  633. Sub Form_Load()
  634.     '隐藏选择对话框
  635.     YH_FrmXzkm.Hide
  636.     '调入打印页面设置窗体
  637.     Label1.Caption = YH_FrmXzkm.Combo1.Text
  638.     XtReportCode = "Cwzz_yhgdqk"
  639.     Load Dyymctbl
  640.     ReportTitle = "银行对帐单"
  641.     
  642.     '调入网格
  643.     GridCode = "Cwzz_yhcxgd"
  644.     Call BzWgcsh(CxbbGrid, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
  645.     Lab_TitleText(0) = Mid(Trim(Str(10000 + Xtyear)), 2, 4) + "." + Mid(Trim(Str(100 + Xtmm)), 2, 2)
  646.     Qslz = GridInf(1)
  647.     Sjhgd = GridInf(2)
  648.     Sfxshjwg = GridInf(7)
  649.     Szzls = CxbbGrid.Cols - 1
  650.     
  651.     '调入网格
  652.     GridCode = "Cwzz_yhcxgd1"
  653.     Call BzWgcsh(vsFlexGrid1, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
  654.     Qslz = GridInf(1)
  655.     Sjhgd = GridInf(2)
  656.     Sfxshjwg = GridInf(7)
  657.     Szzls = CxbbGrid.Cols - 1
  658.     Call Sub_ShowBill
  659.     
  660.     '调整标题位置
  661.     SetTitlePos tsLabel(4)
  662. End Sub
  663. Private Sub Form_Resize()
  664.     On Error Resume Next
  665.     With SSTab1
  666.         .Width = Me.Width - 100
  667.         .Height = Me.Height - .Top - 400
  668.     End With
  669.     With vsFlexGrid1
  670.         .Width = Me.Width - 160
  671.         .Height = Me.Height - SSTab1.Top - .Top - 400
  672.     End With
  673.     With Pic_Title
  674.         .Width = Me.Width - 160
  675.     End With
  676.     
  677.     With CxbbGrid
  678.         .Width = Me.Width - 160
  679.         .Height = Me.Height - SSTab1.Top - .Top - 400
  680.     End With
  681.     With Pic_Title
  682.         .Width = Me.Width - 160
  683.     End With
  684.     
  685.     GsToolbar.Left = Me.Width - GsToolbar.Width - 140
  686. End Sub
  687. '窗体卸载
  688. Private Sub Form_Unload(Cancel As Integer)
  689.     '卸载打印页面设置窗体
  690.     Unload Dyymctbl
  691.     Glo_Variable.Unload_TF = True
  692.     Unload YH_FrmXzkm
  693. End Sub
  694. '报表打印预览
  695. Private Sub bbyl(bbylte As Boolean)
  696.     Dim Bbzbt$, Bbxbt() As String, bbxbtzzxs() As Integer, Bbxbtgs As Integer
  697.     Dim Bbbwh() As String, Bbbwhzzxs() As Integer, Bbbwhgs As Integer
  698.     '报表小标题行数
  699.     Bbxbtgs = 1
  700.     '报表表尾行数
  701.     Bbbwhgs = 1
  702.     ReDim Bbxbt(1 To Bbxbtgs)
  703.     ReDim bbxbtzzxs(1 To Bbxbtgs)
  704.     If Bbbwhgs <> 0 Then
  705.         ReDim Bbbwh(1 To Bbbwhgs)
  706.         ReDim Bbbwhzzxs(1 To Bbbwhgs)
  707.     End If
  708.     '报表行组织形式(0-居左 1-居中 2-居右)
  709.     Bbxbt(1) = Space(0) + Fun_FormatOutPut("会计期间:" + Trim(Lab_TitleText(0)), 19)
  710.     Bbxbt(1) = Bbxbt(1) + Fun_FormatOutPut("科目编码:" + Trim(Label1), 26)
  711.     '报表小标题组织形式
  712.     '报表行组织形式(0-居左 1-居中 2-居右)
  713.     bbxbtzzxs(1) = 0
  714.     Bbbwhzzxs(1) = 1
  715.     
  716.     '============选择打印银行对账单或单位日记账(bsj 6月4日修改部分)=================
  717.     '修改原因:进入“预览”窗口,点击“返回”2次才能完全退出
  718.     '修改后:  根据STAB控件的标签不同分别预览
  719.     Select Case SSTab1.Tab
  720.     Case STAB_BANK   '预览银行对账单
  721.         ReportTitle = "银行对帐单"
  722.         '报表主标题
  723.         Bbzbt = ReportTitle
  724.         Bbxbt(1) = Space(0) + Fun_FormatOutPut("会计期间:" + Trim(Lab_TitleText(0)), 19)
  725.         Bbxbt(1) = Bbxbt(1) + Fun_FormatOutPut("科目编码:" + Trim(Label1), 26)
  726.         Call Scyxsjb(CxbbGrid)                               '生成报表数据
  727.         Call Scdybb(Dyymctbl, Bbzbt, Bbxbt(), bbxbtzzxs(), Bbxbtgs, Bbbwh(), Bbbwhzzxs(), Bbbwhgs, bbylte)
  728.         If Not bbylte Then
  729.             Unload DY_Tybbyldy
  730.         End If
  731.     Case STAB_COM   '预览单位日记账
  732.         ReportTitle = "单位日记帐"
  733.         '报表主标题
  734.         Bbzbt = ReportTitle
  735.         Bbxbt(1) = Space(0) + Fun_FormatOutPut("会计期间:" + Trim(Lab_TitleText(0)), 26)
  736.         Bbxbt(1) = Bbxbt(1) + Fun_FormatOutPut("科目编码:" + Trim(Label1), 26)
  737.         Call Scyxsjb(vsFlexGrid1)                               '生成报表数据
  738.         Call Scdybb(Dyymctbl, Bbzbt, Bbxbt(), bbxbtzzxs(), Bbxbtgs, Bbbwh(), Bbbwhzzxs(), Bbbwhgs, bbylte)
  739.         If Not bbylte Then
  740.             Unload DY_Tybbyldy
  741.         End If
  742.     End Select
  743. End Sub
  744. Private Sub GsToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
  745.     Select Case SSTab1.Tab
  746.     Case STAB_BANK   '预览银行对账单
  747.         Select Case Button.Key
  748.         Case "bcgs"                              '保存表格格式
  749.             Call Bcwggs(CxbbGrid, GridCode, GridStr())
  750.         Case "hfmrgs"                            '恢复默认格式
  751.             Call Hfmrgs(CxbbGrid, GridCode, GridStr())
  752.         Case "szxsxm"                            '设置显示项目
  753.             Call Szxsxm(CxbbGrid, GridCode)
  754.         End Select
  755.     Case STAB_COM   '预览单位日记账
  756.         Select Case Button.Key
  757.         Case "bcgs"                              '保存表格格式
  758.             Call Bcwggs(vsFlexGrid1, GridCode, GridStr())
  759.         Case "hfmrgs"                            '恢复默认格式
  760.             Call Hfmrgs(vsFlexGrid1, GridCode, GridStr())
  761.         Case "szxsxm"                            '设置显示项目
  762.             Call Szxsxm(vsFlexGrid1, GridCode)
  763.         End Select
  764.     End Select
  765. End Sub
  766. Private Sub SSTab1_Click(PreviousTab As Integer)
  767.     If SSTab1.Tab = 0 Then
  768.         '调入网格
  769.         GridCode = "Cwzz_yhcxgd"
  770.         Call BzWgcsh(CxbbGrid, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
  771.         Qslz = GridInf(1)
  772.         Sjhgd = GridInf(2)
  773.         Sfxshjwg = GridInf(7)
  774.         Szzls = CxbbGrid.Cols - 1
  775.     End If
  776.     If SSTab1.Tab = 1 Then
  777.         '调入网格
  778.         GridCode = "Cwzz_yhcxgd1"
  779.         Call BzWgcsh(vsFlexGrid1, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
  780.         Qslz = GridInf(1)
  781.         Sjhgd = GridInf(2)
  782.         Sfxshjwg = GridInf(7)
  783.         Szzls = CxbbGrid.Cols - 1
  784.     End If
  785.     Call Sub_ShowBill
  786. End Sub
  787. Private Sub SzToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
  788.     Select Case Button.Key
  789.     Case "ymsz"             '页面设置
  790.         Dyymctbl.Show 1
  791.     Case "yl"               '预览
  792.         Call bbyl(True)
  793.     Case "dy"               '打印
  794.         Call bbyl(False)
  795.     Case "fh"               '退出
  796.         Unload Me
  797.     Case "sel"
  798.         Glo_Variable.Unload_TF = False
  799.         YH_FrmXzkm.HelpContextID = "0115006"
  800.         YH_FrmXzkm.Show 1
  801.     Case "bz"
  802.         Call F1bz
  803.     End Select
  804. End Sub
  805. '显示网格数据
  806. Private Sub Sub_ShowBill()
  807.     Dim RecTemp As New ADODB.Recordset
  808.     Dim Recfind As New ADODB.Recordset
  809.     Dim Jsqte As Integer
  810.     '银对帐单数据
  811.     With CxbbGrid
  812.         SQL_Str = "select * from cwzz_bankbill where (rectype=1 or rectype=2) and bdelete=0 and ccode='" & Val(Label1.Caption) & "'"
  813.         Set RecTemp = Cw_DataEnvi.DataConnect.Execute(SQL_Str)
  814.         Jsqte = 1
  815.         Do While Not RecTemp.EOF()
  816.             If Jsqte >= .Rows Then
  817.                 .AddItem ""
  818.             End If
  819.             '[>>显示单据分录
  820.             .TextMatrix(Jsqte, 0) = "*"                                                           '行标识
  821.             .TextMatrix(Jsqte, 1) = Trim(RecTemp.Fields("BankBillID"))
  822.             .TextMatrix(Jsqte, Sydz("001", GridStr(), Szzls)) = Format(RecTemp.Fields("billDATe"), "yyyy-mm-dd")                     '结算方式编码
  823.             If Recfind.State = 1 Then Recfind.Close
  824.             SQL_Str = "select * from Gy_settlement where sscode='" & RecTemp.Fields!sscode & "'"
  825.             Set Recfind = Cw_DataEnvi.DataConnect.Execute(SQL_Str)
  826.             If Recfind.EOF = False Then
  827.                 .TextMatrix(Jsqte, Sydz("002", GridStr(), Szzls)) = Trim(Recfind.Fields("ssname") & "")                                '结算方式名称
  828.             End If
  829.             .TextMatrix(Jsqte, Sydz("003", GridStr(), Szzls)) = Trim(RecTemp.Fields("BillNo") & "")                                  '票号
  830.             If RecTemp.Fields("jfje") <> 0 And IsNull(RecTemp.Fields("jfje")) = False Then
  831.                 .TextMatrix(Jsqte, Sydz("004", GridStr(), Szzls)) = Format(RecTemp.Fields("Jfje"), "#,###.00")                         '借方金额
  832.             End If
  833.             If RecTemp.Fields("dfje") <> 0 And IsNull(RecTemp.Fields("dfje")) = False Then
  834.                 .TextMatrix(Jsqte, Sydz("005", GridStr(), Szzls)) = Format(RecTemp.Fields("Dfje"), "#,###.00")                        '贷方金额
  835.             End If
  836.             '<<]
  837.             .RowHeight(Jsqte) = Sjhgd
  838.             If RecTemp.Fields("bcheckflag") = True Then                                                                          '填充网格颜色标志
  839.                 .Cell(flexcpBackColor, Jsqte, Sydz("001", GridStr(), Szzls), Jsqte, Sydz("006", GridStr(), Szzls)) = Label3(0).BackColor
  840.                 .TextMatrix(Jsqte, Sydz("006", GridStr(), Szzls)) = "○"
  841.             End If
  842.             If RecTemp.Fields("handworkflag") = True Then
  843.                 .Cell(flexcpBackColor, Jsqte, Sydz("001", GridStr(), Szzls), Jsqte, Sydz("006", GridStr(), Szzls)) = Label3(0).BackColor
  844.                 .TextMatrix(Jsqte, Sydz("006", GridStr(), Szzls)) = "√"
  845.             End If
  846.             Jsqte = Jsqte + 1
  847.             RecTemp.MoveNext
  848.         Loop
  849.     End With
  850.     '日记帐期初数据
  851.     With vsFlexGrid1
  852.         Sqlstr = "select dDATe,sscode,vouchclasscode,vouchno,BillNo,Jfje,Dfje,digest,billdate,bcheckflag, " _
  853.         & "handworkflag from cwzz_rjznotcheck where (rectype=1 ) and bdelete=0  " _
  854.         & "and ccode='" & Val(Label1.Caption) & "' UNION select dDATe,sscode,vouchclasscode, " _
  855.         & "vouchno,BillNo,Jfje,Dfje,digest,billdate,bcheckflag,handworkflag  " _
  856.         & "from Cwzz_V_AccVouch where ccode='" & Val(Label1.Caption) & "' and bdelete=0"
  857.         Set RecTemp = Cw_DataEnvi.DataConnect.Execute(Sqlstr)
  858.         Jsqte = 1
  859.         Do While Not RecTemp.EOF()
  860.             If Jsqte >= .Rows Then
  861.                 .AddItem ""
  862.             End If
  863.             '[>>显示单据分录
  864.             '凭证日期
  865.             .TextMatrix(Jsqte, 0) = Format(RecTemp.Fields("dDATe"), "yyyy-mm-dd")
  866.             '结算方式编码
  867.             SQL_Str = "select * from Gy_settlement where sscode='" & RecTemp.Fields!sscode & "'"
  868.             Set Recfind = Cw_DataEnvi.DataConnect.Execute(SQL_Str)
  869.             If Recfind.EOF = False Then
  870.                 .TextMatrix(Jsqte, 2) = Trim(Recfind.Fields("ssname") & "")                                  '结算方式名称
  871.             End If
  872.             '凭证号
  873.             .TextMatrix(Jsqte, 7) = Trim(RecTemp.Fields("vouchclasscode")) + "-" + Trim(RecTemp.Fields("vouchno"))
  874.             '票号
  875.             .TextMatrix(Jsqte, 3) = Trim(RecTemp.Fields("BillNo") & "")
  876.             '借方金额
  877.             If Val(RecTemp.Fields("Jfje")) <> 0 Then
  878.                 .TextMatrix(Jsqte, 4) = Trim(Str(RecTemp.Fields("Jfje")))
  879.             End If
  880.             '贷方金额
  881.             If Val(RecTemp.Fields("Dfje")) <> 0 Then
  882.                 .TextMatrix(Jsqte, 5) = Trim(Str(RecTemp.Fields("Dfje")))
  883.             End If
  884.             '摘要
  885.             If IsNull(RecTemp.Fields("digest")) = False Then
  886.                 .TextMatrix(Jsqte, 8) = Trim(RecTemp.Fields("digest") & "")
  887.             Else
  888.                 .TextMatrix(Jsqte, 8) = ""
  889.             End If
  890.             '票据日期
  891.             .TextMatrix(Jsqte, 1) = Format(RecTemp.Fields("billdate"), "yyyy-mm-dd")                                  '计量单位
  892.             '<<]
  893.             .RowHeight(Jsqte) = Sjhgd
  894.             If RecTemp.Fields("bcheckflag") = True Then                                             '填充网格颜色对帐标志
  895.                 .Cell(flexcpBackColor, Jsqte, 0, Jsqte, .Cols - 1) = Label3(0).BackColor
  896.                 .TextMatrix(Jsqte, 6) = "○"
  897.             End If
  898.             If RecTemp.Fields("handworkflag") = True Then
  899.                 .Cell(flexcpBackColor, Jsqte, 0, Jsqte, .Cols - 1) = Label3(0).BackColor
  900.                 .TextMatrix(Jsqte, 6) = "√"
  901.             End If
  902.             Jsqte = Jsqte + 1
  903.             RecTemp.MoveNext
  904.         Loop
  905.     End With
  906.     '对网格进行合计
  907.     CxbbGrid.SubtotalPosition = flexSTBelow
  908.     CxbbGrid.Subtotal flexSTSum, -1, Sydz("004", GridStr(), Szzls), "#,###.00", , , , "合计"
  909.     CxbbGrid.Subtotal flexSTSum, -1, Sydz("005", GridStr(), Szzls), "#,###.00", , , , "合计"
  910.     vsFlexGrid1.SubtotalPosition = flexSTBelow
  911.     vsFlexGrid1.Subtotal flexSTSum, -1, 4, "#,###.00", , , , "合计"
  912.     vsFlexGrid1.Subtotal flexSTSum, -1, 5, "#,###.00", , , , "合计"
  913. End Sub