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

企业管理

开发平台:

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. Begin VB.Form Cg_PaymentList 
  5.    Caption         =   "采购收料明细表"
  6.    ClientHeight    =   8595
  7.    ClientLeft      =   315
  8.    ClientTop       =   390
  9.    ClientWidth     =   11820
  10.    HelpContextID   =   1108001
  11.    Icon            =   "采购系统_采购收料明细表查询结果.frx":0000
  12.    KeyPreview      =   -1  'True
  13.    LinkTopic       =   "Form1"
  14.    MDIChild        =   -1  'True
  15.    ScaleHeight     =   8595
  16.    ScaleWidth      =   11820
  17.    WindowState     =   2  'Maximized
  18.    Begin MSComctlLib.Toolbar GsToolbar 
  19.       Height          =   525
  20.       Left            =   9405
  21.       TabIndex        =   3
  22.       Top             =   15
  23.       Width           =   2475
  24.       _ExtentX        =   4366
  25.       _ExtentY        =   926
  26.       ButtonWidth     =   1455
  27.       ButtonHeight    =   926
  28.       Appearance      =   1
  29.       Style           =   1
  30.       ImageList       =   "ImageList2"
  31.       _Version        =   393216
  32.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  33.          NumButtons      =   3
  34.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  35.             Caption         =   "保存格式"
  36.             Key             =   "bcgs"
  37.             ImageKey        =   "bcgs"
  38.          EndProperty
  39.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  40.             Caption         =   "默认列宽"
  41.             Key             =   "hfmrgs"
  42.             ImageKey        =   "mrlk"
  43.          EndProperty
  44.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  45.             Caption         =   "显示项目"
  46.             Key             =   "szxsxm"
  47.             ImageKey        =   "xsxm"
  48.          EndProperty
  49.       EndProperty
  50.    End
  51.    Begin VB.PictureBox Pic_Title 
  52.       BackColor       =   &H00FFFFFF&
  53.       Height          =   1035
  54.       Left            =   0
  55.       Picture         =   "采购系统_采购收料明细表查询结果.frx":1042
  56.       ScaleHeight     =   975
  57.       ScaleWidth      =   11775
  58.       TabIndex        =   1
  59.       Top             =   570
  60.       Width           =   11835
  61.       Begin VB.Label Lbl_Tslabel 
  62.          AutoSize        =   -1  'True
  63.          BackStyle       =   0  'Transparent
  64.          Caption         =   "物料编码:"
  65.          Height          =   180
  66.          Index           =   3
  67.          Left            =   8460
  68.          TabIndex        =   12
  69.          Top             =   690
  70.          Width           =   810
  71.       End
  72.       Begin VB.Label Lbl_Xslabel 
  73.          BackStyle       =   0  'Transparent
  74.          Height          =   180
  75.          Index           =   3
  76.          Left            =   9390
  77.          TabIndex        =   11
  78.          Top             =   690
  79.          Width           =   1275
  80.       End
  81.       Begin VB.Label Lbl_Xslabel 
  82.          BackStyle       =   0  'Transparent
  83.          Height          =   180
  84.          Index           =   2
  85.          Left            =   5460
  86.          TabIndex        =   10
  87.          Top             =   690
  88.          Width           =   2595
  89.       End
  90.       Begin VB.Label Lbl_Tslabel 
  91.          AutoSize        =   -1  'True
  92.          BackStyle       =   0  'Transparent
  93.          Caption         =   "供应商:"
  94.          Height          =   180
  95.          Index           =   2
  96.          Left            =   4800
  97.          TabIndex        =   9
  98.          Top             =   690
  99.          Width           =   630
  100.       End
  101.       Begin VB.Label Lbl_Xslabel 
  102.          BackStyle       =   0  'Transparent
  103.          Height          =   180
  104.          Index           =   1
  105.          Left            =   2910
  106.          TabIndex        =   8
  107.          Top             =   690
  108.          Width           =   1125
  109.       End
  110.       Begin VB.Label Lbl_Tslabel 
  111.          BackStyle       =   0  'Transparent
  112.          Caption         =   "—"
  113.          BeginProperty Font 
  114.             Name            =   "宋体"
  115.             Size            =   26.25
  116.             Charset         =   134
  117.             Weight          =   400
  118.             Underline       =   0   'False
  119.             Italic          =   0   'False
  120.             Strikethrough   =   0   'False
  121.          EndProperty
  122.          Height          =   315
  123.          Index           =   1
  124.          Left            =   2280
  125.          TabIndex        =   7
  126.          Top             =   540
  127.          Width           =   525
  128.       End
  129.       Begin VB.Label Lbl_Xslabel 
  130.          BackStyle       =   0  'Transparent
  131.          Height          =   180
  132.          Index           =   0
  133.          Left            =   1260
  134.          TabIndex        =   6
  135.          Top             =   690
  136.          Width           =   885
  137.       End
  138.       Begin VB.Label Lbl_Tslabel 
  139.          AutoSize        =   -1  'True
  140.          BackStyle       =   0  'Transparent
  141.          Caption         =   "收料日期:"
  142.          Height          =   180
  143.          Index           =   0
  144.          Left            =   240
  145.          TabIndex        =   5
  146.          Top             =   690
  147.          Width           =   810
  148.       End
  149.       Begin VB.Label Lab_Title 
  150.          BackColor       =   &H80000018&
  151.          BackStyle       =   0  'Transparent
  152.          Caption         =   "采购收料明细表"
  153.          BeginProperty Font 
  154.             Name            =   "宋体"
  155.             Size            =   12
  156.             Charset         =   134
  157.             Weight          =   700
  158.             Underline       =   0   'False
  159.             Italic          =   0   'False
  160.             Strikethrough   =   0   'False
  161.          EndProperty
  162.          ForeColor       =   &H00000000&
  163.          Height          =   300
  164.          Index           =   4
  165.          Left            =   480
  166.          TabIndex        =   2
  167.          Top             =   210
  168.          Width           =   2715
  169.       End
  170.    End
  171.    Begin VB.Timer Timer1 
  172.       Enabled         =   0   'False
  173.       Interval        =   1
  174.       Left            =   7620
  175.       Top             =   90
  176.    End
  177.    Begin VSFlex8Ctl.VSFlexGrid CxbbGrid 
  178.       Height          =   7305
  179.       Left            =   0
  180.       TabIndex        =   0
  181.       Top             =   1650
  182.       Width           =   11835
  183.       _cx             =   5080
  184.       _cy             =   5080
  185.       Appearance      =   1
  186.       BorderStyle     =   1
  187.       Enabled         =   -1  'True
  188.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  189.          Name            =   "宋体"
  190.          Size            =   9
  191.          Charset         =   134
  192.          Weight          =   400
  193.          Underline       =   0   'False
  194.          Italic          =   0   'False
  195.          Strikethrough   =   0   'False
  196.       EndProperty
  197.       MousePointer    =   0
  198.       BackColor       =   16777215
  199.       ForeColor       =   -2147483640
  200.       BackColorFixed  =   13826538
  201.       ForeColorFixed  =   -2147483630
  202.       BackColorSel    =   -2147483635
  203.       ForeColorSel    =   -2147483634
  204.       BackColorBkg    =   -2147483636
  205.       BackColorAlternate=   16777215
  206.       GridColor       =   -2147483633
  207.       GridColorFixed  =   -2147483632
  208.       TreeColor       =   -2147483632
  209.       FloodColor      =   192
  210.       SheetBorder     =   -2147483642
  211.       FocusRect       =   1
  212.       HighLight       =   1
  213.       AllowSelection  =   -1  'True
  214.       AllowBigSelection=   -1  'True
  215.       AllowUserResizing=   0
  216.       SelectionMode   =   0
  217.       GridLines       =   1
  218.       GridLinesFixed  =   2
  219.       GridLineWidth   =   1
  220.       Rows            =   50
  221.       Cols            =   10
  222.       FixedRows       =   1
  223.       FixedCols       =   1
  224.       RowHeightMin    =   0
  225.       RowHeightMax    =   0
  226.       ColWidthMin     =   0
  227.       ColWidthMax     =   0
  228.       ExtendLastCol   =   0   'False
  229.       FormatString    =   ""
  230.       ScrollTrack     =   0   'False
  231.       ScrollBars      =   3
  232.       ScrollTips      =   0   'False
  233.       MergeCells      =   0
  234.       MergeCompare    =   0
  235.       AutoResize      =   -1  'True
  236.       AutoSizeMode    =   0
  237.       AutoSearch      =   0
  238.       AutoSearchDelay =   2
  239.       MultiTotals     =   -1  'True
  240.       SubtotalPosition=   1
  241.       OutlineBar      =   0
  242.       OutlineCol      =   0
  243.       Ellipsis        =   0
  244.       ExplorerBar     =   0
  245.       PicturesOver    =   0   'False
  246.       FillStyle       =   0
  247.       RightToLeft     =   0   'False
  248.       PictureType     =   0
  249.       TabBehavior     =   0
  250.       OwnerDraw       =   0
  251.       Editable        =   0
  252.       ShowComboButton =   1
  253.       WordWrap        =   0   'False
  254.       TextStyle       =   0
  255.       TextStyleFixed  =   0
  256.       OleDragMode     =   0
  257.       OleDropMode     =   0
  258.       DataMode        =   0
  259.       VirtualData     =   -1  'True
  260.       DataMember      =   ""
  261.       ComboSearch     =   3
  262.       AutoSizeMouse   =   -1  'True
  263.       FrozenRows      =   0
  264.       FrozenCols      =   0
  265.       AllowUserFreezing=   0
  266.       BackColorFrozen =   0
  267.       ForeColorFrozen =   0
  268.       WallPaperAlignment=   9
  269.       AccessibleName  =   ""
  270.       AccessibleDescription=   ""
  271.       AccessibleValue =   ""
  272.       AccessibleRole  =   24
  273.       Begin MSComctlLib.ImageList ImageList2 
  274.          Left            =   0
  275.          Top             =   0
  276.          _ExtentX        =   1005
  277.          _ExtentY        =   1005
  278.          BackColor       =   -2147483643
  279.          ImageWidth      =   16
  280.          ImageHeight     =   16
  281.          MaskColor       =   12632256
  282.          _Version        =   393216
  283.          BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  284.             NumListImages   =   40
  285.             BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  286.                Picture         =   "采购系统_采购收料明细表查询结果.frx":35106
  287.                Key             =   "sz"
  288.             EndProperty
  289.             BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  290.                Picture         =   "采购系统_采购收料明细表查询结果.frx":354A0
  291.                Key             =   "dy"
  292.             EndProperty
  293.             BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  294.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3583A
  295.                Key             =   "yl"
  296.             EndProperty
  297.             BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  298.                Picture         =   "采购系统_采购收料明细表查询结果.frx":35BD4
  299.                Key             =   "xg"
  300.             EndProperty
  301.             BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  302.                Picture         =   "采购系统_采购收料明细表查询结果.frx":35F6E
  303.                Key             =   "zh"
  304.             EndProperty
  305.             BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  306.                Picture         =   "采购系统_采购收料明细表查询结果.frx":36308
  307.                Key             =   "sh"
  308.             EndProperty
  309.             BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  310.                Picture         =   "采购系统_采购收料明细表查询结果.frx":366A2
  311.                Key             =   "bc"
  312.             EndProperty
  313.             BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  314.                Picture         =   "采购系统_采购收料明细表查询结果.frx":36A3C
  315.                Key             =   "fq"
  316.             EndProperty
  317.             BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  318.                Picture         =   "采购系统_采购收料明细表查询结果.frx":36DD6
  319.                Key             =   "bz"
  320.             EndProperty
  321.             BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  322.                Picture         =   "采购系统_采购收料明细表查询结果.frx":37170
  323.                Key             =   "tc"
  324.             EndProperty
  325.             BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  326.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3750A
  327.                Key             =   "bcgs"
  328.             EndProperty
  329.             BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  330.                Picture         =   "采购系统_采购收料明细表查询结果.frx":378A4
  331.                Key             =   "mrlk"
  332.             EndProperty
  333.             BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  334.                Picture         =   "采购系统_采购收料明细表查询结果.frx":37C3E
  335.                Key             =   "xsxm"
  336.             EndProperty
  337.             BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  338.                Picture         =   "采购系统_采购收料明细表查询结果.frx":37FD8
  339.                Key             =   "first"
  340.             EndProperty
  341.             BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  342.                Picture         =   "采购系统_采购收料明细表查询结果.frx":38372
  343.                Key             =   "prev"
  344.             EndProperty
  345.             BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  346.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3870C
  347.                Key             =   "next"
  348.             EndProperty
  349.             BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  350.                Picture         =   "采购系统_采购收料明细表查询结果.frx":38AA6
  351.                Key             =   "last"
  352.             EndProperty
  353.             BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  354.                Picture         =   "采购系统_采购收料明细表查询结果.frx":38E40
  355.                Key             =   "xx"
  356.             EndProperty
  357.             BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  358.                Picture         =   "采购系统_采购收料明细表查询结果.frx":391DA
  359.                Key             =   "define"
  360.             EndProperty
  361.             BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  362.                Picture         =   "采购系统_采购收料明细表查询结果.frx":39574
  363.                Key             =   "exec"
  364.             EndProperty
  365.             BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  366.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3990E
  367.                Key             =   "xz"
  368.             EndProperty
  369.             BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  370.                Picture         =   "采购系统_采购收料明细表查询结果.frx":39CA8
  371.                Key             =   "sc"
  372.             EndProperty
  373.             BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  374.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3A042
  375.                Key             =   "sx"
  376.             EndProperty
  377.             BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  378.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3A3DC
  379.                Key             =   "cx"
  380.             EndProperty
  381.             BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  382.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3A776
  383.                Key             =   "zd"
  384.             EndProperty
  385.             BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  386.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3AB10
  387.                Key             =   "dz"
  388.             EndProperty
  389.             BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  390.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3AEAA
  391.                Key             =   "ph"
  392.             EndProperty
  393.             BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  394.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3B244
  395.                Key             =   "fz"
  396.             EndProperty
  397.             BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  398.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3B5DE
  399.                Key             =   "dw"
  400.             EndProperty
  401.             BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  402.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3B978
  403.                Key             =   "hf"
  404.             EndProperty
  405.             BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  406.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3BD12
  407.                Key             =   "pz"
  408.             EndProperty
  409.             BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  410.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3C0AC
  411.                Key             =   "check"
  412.             EndProperty
  413.             BeginProperty ListImage33 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  414.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3C446
  415.                Key             =   "qs"
  416.             EndProperty
  417.             BeginProperty ListImage34 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  418.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3C7E0
  419.                Key             =   "fullcheck"
  420.             EndProperty
  421.             BeginProperty ListImage35 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  422.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3CB7A
  423.                Key             =   "qq"
  424.             EndProperty
  425.             BeginProperty ListImage36 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  426.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3CF14
  427.                Key             =   "bcw"
  428.             EndProperty
  429.             BeginProperty ListImage37 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  430.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3D2AE
  431.                Key             =   "ye"
  432.             EndProperty
  433.             BeginProperty ListImage38 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  434.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3D648
  435.                Key             =   ""
  436.             EndProperty
  437.             BeginProperty ListImage39 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  438.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3D9E2
  439.                Key             =   "frist"
  440.             EndProperty
  441.             BeginProperty ListImage40 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  442.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3DD7C
  443.                Key             =   "dj"
  444.             EndProperty
  445.          EndProperty
  446.       End
  447.    End
  448.    Begin MSComctlLib.Toolbar SzToolbar 
  449.       Align           =   1  'Align Top
  450.       Height          =   555
  451.       Left            =   0
  452.       TabIndex        =   4
  453.       Top             =   0
  454.       Width           =   11820
  455.       _ExtentX        =   20849
  456.       _ExtentY        =   979
  457.       ButtonWidth     =   820
  458.       ButtonHeight    =   926
  459.       AllowCustomize  =   0   'False
  460.       Appearance      =   1
  461.       Style           =   1
  462.       ImageList       =   "ImageList1"
  463.       _Version        =   393216
  464.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  465.          NumButtons      =   12
  466.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  467.             Caption         =   "设置"
  468.             Key             =   "ymsz"
  469.             ImageKey        =   "sz"
  470.          EndProperty
  471.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  472.             Caption         =   "打印"
  473.             Key             =   "dy"
  474.             ImageKey        =   "dy"
  475.          EndProperty
  476.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  477.             Caption         =   "预览"
  478.             Key             =   "yl"
  479.             ImageKey        =   "yl"
  480.          EndProperty
  481.          BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  482.             Style           =   3
  483.          EndProperty
  484.          BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  485.             Caption         =   "查询"
  486.             Key             =   "cx"
  487.             ImageKey        =   "cx"
  488.          EndProperty
  489.          BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  490.             Enabled         =   0   'False
  491.             Object.Visible         =   0   'False
  492.             Caption         =   "单据"
  493.             Key             =   "Bill"
  494.             ImageKey        =   "pz"
  495.          EndProperty
  496.          BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  497.             Enabled         =   0   'False
  498.             Object.Visible         =   0   'False
  499.             Style           =   3
  500.          EndProperty
  501.          BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  502.             Enabled         =   0   'False
  503.             Object.Visible         =   0   'False
  504.             Caption         =   "新增"
  505.             Key             =   "xz"
  506.             ImageKey        =   "xz"
  507.          EndProperty
  508.          BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  509.             Enabled         =   0   'False
  510.             Object.Visible         =   0   'False
  511.             Caption         =   "删除"
  512.             Key             =   "sc"
  513.             ImageKey        =   "sc"
  514.          EndProperty
  515.          BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  516.             Style           =   3
  517.          EndProperty
  518.          BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  519.             Caption         =   "帮助"
  520.             Key             =   "bz"
  521.             ImageKey        =   "bz"
  522.          EndProperty
  523.          BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  524.             Caption         =   "退出"
  525.             Key             =   "fh"
  526.             ImageKey        =   "tc"
  527.          EndProperty
  528.       EndProperty
  529.       BorderStyle     =   1
  530.       Begin MSComctlLib.ImageList ImageList1 
  531.          Left            =   6990
  532.          Top             =   30
  533.          _ExtentX        =   1005
  534.          _ExtentY        =   1005
  535.          BackColor       =   -2147483643
  536.          ImageWidth      =   16
  537.          ImageHeight     =   16
  538.          MaskColor       =   12632256
  539.          _Version        =   393216
  540.          BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  541.             NumListImages   =   32
  542.             BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  543.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3E116
  544.                Key             =   "sz"
  545.             EndProperty
  546.             BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  547.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3E4B0
  548.                Key             =   "dy"
  549.             EndProperty
  550.             BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  551.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3E84A
  552.                Key             =   "yl"
  553.             EndProperty
  554.             BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  555.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3EBE4
  556.                Key             =   "xg"
  557.             EndProperty
  558.             BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  559.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3EF7E
  560.                Key             =   "zh"
  561.             EndProperty
  562.             BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  563.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3F318
  564.                Key             =   "sh"
  565.             EndProperty
  566.             BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  567.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3F6B2
  568.                Key             =   "bc"
  569.             EndProperty
  570.             BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  571.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3FA4C
  572.                Key             =   "fq"
  573.             EndProperty
  574.             BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  575.                Picture         =   "采购系统_采购收料明细表查询结果.frx":3FDE6
  576.                Key             =   "bz"
  577.             EndProperty
  578.             BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  579.                Picture         =   "采购系统_采购收料明细表查询结果.frx":40180
  580.                Key             =   "tc"
  581.             EndProperty
  582.             BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  583.                Picture         =   "采购系统_采购收料明细表查询结果.frx":4051A
  584.                Key             =   "bcgs"
  585.             EndProperty
  586.             BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  587.                Picture         =   "采购系统_采购收料明细表查询结果.frx":408B4
  588.                Key             =   "mrlk"
  589.             EndProperty
  590.             BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  591.                Picture         =   "采购系统_采购收料明细表查询结果.frx":40C4E
  592.                Key             =   "xsxm"
  593.             EndProperty
  594.             BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  595.                Picture         =   "采购系统_采购收料明细表查询结果.frx":40FE8
  596.                Key             =   "first"
  597.             EndProperty
  598.             BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  599.                Picture         =   "采购系统_采购收料明细表查询结果.frx":41382
  600.                Key             =   "prev"
  601.             EndProperty
  602.             BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  603.                Picture         =   "采购系统_采购收料明细表查询结果.frx":4171C
  604.                Key             =   "next"
  605.             EndProperty
  606.             BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  607.                Picture         =   "采购系统_采购收料明细表查询结果.frx":41AB6
  608.                Key             =   "last"
  609.             EndProperty
  610.             BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  611.                Picture         =   "采购系统_采购收料明细表查询结果.frx":41E50
  612.                Key             =   "xx"
  613.             EndProperty
  614.             BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  615.                Picture         =   "采购系统_采购收料明细表查询结果.frx":421EA
  616.                Key             =   "define"
  617.             EndProperty
  618.             BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  619.                Picture         =   "采购系统_采购收料明细表查询结果.frx":42584
  620.                Key             =   "exec"
  621.             EndProperty
  622.             BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  623.                Picture         =   "采购系统_采购收料明细表查询结果.frx":4291E
  624.                Key             =   "xz"
  625.             EndProperty
  626.             BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  627.                Picture         =   "采购系统_采购收料明细表查询结果.frx":42CB8
  628.                Key             =   "sc"
  629.             EndProperty
  630.             BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  631.                Picture         =   "采购系统_采购收料明细表查询结果.frx":43052
  632.                Key             =   "sx"
  633.             EndProperty
  634.             BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  635.                Picture         =   "采购系统_采购收料明细表查询结果.frx":433EC
  636.                Key             =   "cx"
  637.             EndProperty
  638.             BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  639.                Picture         =   "采购系统_采购收料明细表查询结果.frx":43786
  640.                Key             =   "zd"
  641.             EndProperty
  642.             BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  643.                Picture         =   "采购系统_采购收料明细表查询结果.frx":43B20
  644.                Key             =   "dz"
  645.             EndProperty
  646.             BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  647.                Picture         =   "采购系统_采购收料明细表查询结果.frx":43EBA
  648.                Key             =   "ph"
  649.             EndProperty
  650.             BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  651.                Picture         =   "采购系统_采购收料明细表查询结果.frx":44254
  652.                Key             =   "fz"
  653.             EndProperty
  654.             BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  655.                Picture         =   "采购系统_采购收料明细表查询结果.frx":445EE
  656.                Key             =   "dw"
  657.             EndProperty
  658.             BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  659.                Picture         =   "采购系统_采购收料明细表查询结果.frx":44988
  660.                Key             =   "hf"
  661.             EndProperty
  662.             BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  663.                Picture         =   "采购系统_采购收料明细表查询结果.frx":44D22
  664.                Key             =   "pz"
  665.             EndProperty
  666.             BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  667.                Picture         =   "采购系统_采购收料明细表查询结果.frx":450BC
  668.                Key             =   "check"
  669.             EndProperty
  670.          EndProperty
  671.       End
  672.    End
  673. End
  674. Attribute VB_Name = "Cg_PaymentList"
  675. Attribute VB_GlobalNameSpace = False
  676. Attribute VB_Creatable = False
  677. Attribute VB_PredeclaredId = True
  678. Attribute VB_Exposed = False
  679. '**************************************************************************
  680. '*    模 块 名 称 :采购收料明细表
  681. '*    功 能 描 述 :
  682. '*    程序员姓名  :李海祥
  683. '*    最后修改人  :李海祥
  684. '*    最后修改时间:2001/10/06
  685. '*    备        注:程序中所有依实际情况自定义部分均用[>>  <<]括起
  686. '**************************************************************************
  687. Dim ReportTitle As String                '报表主标题
  688. Dim Str_QueryCondi As String             '用户录入查询条件
  689. Dim Rec_BillID As New ADODB.Recordset    '用户查询单据ID动态集
  690. '以下为固定使用变量
  691. Dim Dyymctbl As New DY_Dyymsz            '打印页面窗体变量
  692. Dim GridCode As String                   '显示网格网格代码
  693. Dim GridInf() As Variant                 '整个网格设置信息
  694. Dim Tsxx As String                       '系统提示信息
  695. Dim Qslz As Long                         '网格隐藏(非操作显示)列数
  696. Dim Sjhgd As Double                      '网格数据行高度
  697. Dim Sfxshjwg As Boolean                  '是否显示合计网格
  698. Dim GridBoolean() As Boolean             '网格列信息(布尔型)
  699. Dim GridStr()  As String                 '网格列信息(字符型)
  700. Dim GridInt() As Integer                 '网格列信息(整型)
  701. Dim Szzls As Integer                     '数组总列数(网格列数-1)
  702. Private Sub Form_Resize()                '根据窗体大小来调整网格,标题栏大小(Fixed)
  703.     On Error Resume Next
  704.     With CxbbGrid
  705.         .Width = Me.Width - 160
  706.         .Height = Me.Height - .Top - 400
  707.     End With
  708.     With Pic_Title
  709.         .Width = Me.Width - 160
  710.     End With
  711.     
  712.     GsToolbar.Left = Me.Width - GsToolbar.Width - 140
  713. End Sub
  714. Private Sub Form_Load()                                                   '窗体装入
  715.   
  716.     '调入打印页面设置窗体
  717.     ReportTitle = "采购收料明细表"
  718.     XtReportCode = "Cg_PaymentList"
  719.     Load Dyymctbl
  720.       
  721.     '调整标题栏及网格、格式工具条位置(Fixed)
  722.     Pic_Title.Left = 40
  723.     Pic_Title.Top = SzToolbar.Top + SzToolbar.Height - 10
  724.     CxbbGrid.Left = Pic_Title.Left
  725.     CxbbGrid.Top = Pic_Title.Top + Pic_Title.Height + 20
  726.      
  727.     '调 入 网 格(Fixed)
  728.     GridCode = "Cg_PaymentList"
  729.     Call BzWgcsh(CxbbGrid, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
  730.       
  731.     Qslz = GridInf(1)
  732.     Sjhgd = GridInf(2)
  733.     Sfxshjwg = GridInf(7)
  734.     Szzls = CxbbGrid.Cols - 1
  735. End Sub
  736. Private Sub Form_Unload(Cancel As Integer)                                  '窗体卸载
  737.     '卸载条件窗体
  738.     Cg_PaymentQuery.UnloadCheck.Value = 1
  739.     Unload Cg_PaymentQuery
  740.     
  741.     '卸载打印页面设置窗体
  742.     Unload Dyymctbl
  743. End Sub
  744. Private Sub CxbbGrid_BeforeMoveColumn(ByVal Col As Long, Position As Long)           '网格列发生移动时自动交换网格索引信息
  745.     Call FnBln_RefreshArray(Col, Position, GridStr(), GridInf())
  746. End Sub
  747. Private Sub GsToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)                '网格格式调整(Fixed)
  748.   
  749.     Select Case Button.Key
  750.         Case "bcgs"                                          '保存表格格式
  751.             Call Bcwggs(CxbbGrid, GridCode, GridStr())
  752.         Case "hfmrgs"                                        '恢复默认格式
  753.             Call Hfmrgs(CxbbGrid, GridCode, GridStr())
  754.         Case "szxsxm"                                        '设置显示项目
  755.             Call Szxsxm(CxbbGrid, GridCode)
  756.     End Select
  757. End Sub
  758. Private Sub SzToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
  759.     
  760.     Select Case Button.Key
  761.         Case "ymsz"                                          '页面设置
  762.             Dyymctbl.Show 1
  763.         Case "yl"                                            '预 览
  764.             Call bbyl(True)
  765.         Case "dy"                                            '打 印
  766.             Call bbyl(False)
  767.         Case "cx"                                            '查 询
  768.             Cg_PaymentQuery.Show 1
  769.         Case "bz"                                            '帮 助
  770.             Call F1bz
  771.         Case "fh"                                            '退 出
  772.            Unload Me
  773.     End Select
  774. End Sub
  775. Private Sub Timer1_Timer()                                 '在窗体激活后调入查询程序
  776.     
  777.     Timer1.Enabled = False
  778.     Xt_Wait.Show
  779.     Xt_Wait.Refresh
  780.    
  781.     '加快显示速度
  782.     CxbbGrid.Redraw = False
  783.  
  784.     '生成查询结果
  785.     Call Sub_Query
  786.    
  787.     CxbbGrid.Redraw = True
  788.     
  789.     Xt_Wait.Hide
  790. End Sub
  791. Private Sub Sub_Query()                                     '生成查询结果(Define)
  792.     
  793.     
  794.     Dim Rec_Query As New ADODB.Recordset        '查询结果动态集
  795.     Dim Coljsq As Long                          '网格列计数器
  796.     Dim jsqte As Long                           '临时动态计数器
  797.     '以下为自定义部分[
  798.      Dim Number As Long
  799.      
  800.     
  801.     With Cg_PaymentQuery
  802.         '生成查询条件
  803.         Str_QueryCondi = " where  Checker<>'' "
  804.         For jsqte = 1 To 12
  805.             Select Case jsqte
  806.                 Case 1  '收料通知单号
  807.                     If Trim(.LrText(0).Text) <> "" Then
  808.                         Str_QueryCondi = Str_QueryCondi & " And PurReciptNum = '" & Trim(.LrText(0).Text) & "'"
  809.                         
  810.                     End If
  811.                 Case 2  '计划单号
  812.                     If Trim(.LrText(1).Text) <> "" Then
  813.                         Str_QueryCondi = Str_QueryCondi & " and PurPlanNum = '" & Trim(.LrText(1).Text) & "'"
  814.                     End If
  815.                 Case 3  '供应商
  816.                     If Trim(.LrText(2).Text) <> "" Then
  817.                         Str_QueryCondi = Str_QueryCondi & " and SupplierCode =  '" & Trim(.LrText(2).Tag) & "'"
  818.                         Me.Lbl_Xslabel(2).Caption = Trim(.LrText(2).Text)
  819.                     Else
  820.                         Me.Lbl_Xslabel(2).Caption = ""
  821.                     End If
  822.                 Case 4  '采购物料分类
  823.                     If Trim(.LrText(3).Text) <> "" Then
  824.                         Str_QueryCondi = Str_QueryCondi & " and PurSortCode like '" & Trim(.LrText(3).Tag) & "%'"
  825.                     End If
  826.                 Case 5  '物料编码
  827.                     If Trim(.LrText(4).Text) <> "" Then
  828.                         Str_QueryCondi = Str_QueryCondi & " and MNumber = '" & Trim(.LrText(4).Text) & "'"
  829.                         Me.Lbl_Xslabel(3).Caption = Trim(.LrText(4).Text)
  830.                     Else
  831.                         Me.Lbl_Xslabel(3).Caption = ""
  832.                     End If
  833.                 Case 6  '收料日期起
  834.                     If Trim(.LrText(5).Text) <> "" Then
  835.                         Str_QueryCondi = Str_QueryCondi & " And PurReciptDate>=convert(datetime,'" & Trim(.LrText(5).Text) & "')"
  836.                         Me.Lbl_Xslabel(0).Caption = Trim(.LrText(5).Text)
  837.                     Else
  838.                         Me.Lbl_Xslabel(0).Caption = ""
  839.                     End If
  840.                 Case 7  '收料日期止
  841.                     If Trim(.LrText(6).Text) <> "" Then
  842.                         Str_QueryCondi = Str_QueryCondi & " And PurReciptDate<=convert(datetime,'" & Trim(.LrText(6).Text) & "')"
  843.                         Me.Lbl_Xslabel(1).Caption = Trim(.LrText(6).Text)
  844.                     Else
  845.                         Me.Lbl_Xslabel(1).Caption = ""
  846.                     End If
  847.                 Case 8  '数量起
  848.                     If Trim(.LrText(7).Text) <> "" Then
  849.                         Str_QueryCondi = Str_QueryCondi & " and Quantity >= " & S2N(Trim(.LrText(7).Text))
  850.             
  851.                     End If
  852.                 Case 9   '数量止
  853.                     If Trim(.LrText(8).Text) <> "" Then
  854.                         Str_QueryCondi = Str_QueryCondi & " and Quantity <= " & S2N(Trim(.LrText(8).Text))
  855.                     End If
  856.                 Case 10   '金额起
  857.                     If Trim(.LrText(9).Text) <> "" Then
  858.                         Str_QueryCondi = Str_QueryCondi & " and PurReciptMoney >= " & S2N(Trim(.LrText(9).Text))
  859.                     End If
  860.                 Case 11   '金额止
  861.                     If Trim(.LrText(10).Text) <> "" Then
  862.                         Str_QueryCondi = Str_QueryCondi & " and PurReciptMoney <= " & S2N(Trim(.LrText(10).Text))
  863.                     End If
  864.                 Case 12   '订单号
  865.                     If Trim(.LrText(11).Text) <> "" Then
  866.                         Str_QueryCondi = Str_QueryCondi & " and OrderFormNum = '" & (Trim(.LrText(11).Text)) & "'"
  867.                     End If
  868.             End Select
  869.         Next jsqte
  870.     End With
  871.     
  872.      
  873.     Sqlstr = "select * from Cg_V_PurRecipt  " & Str_QueryCondi & " Order By PurReciptDate,PurReciptNum,PurReciptSubID"
  874.     
  875.     Set Rec_Query = Cw_DataEnvi.DataConnect.Execute(Sqlstr)
  876.     With Rec_Query
  877.         CxbbGrid.Rows = CxbbGrid.FixedRows
  878.         jsqte = CxbbGrid.FixedRows
  879.         Do While Not .EOF
  880.             If jsqte >= CxbbGrid.Rows Then
  881.                 CxbbGrid.AddItem ""
  882.             End If
  883.             '[>>自定义填充内容
  884.             CxbbGrid.TextMatrix(jsqte, Sydz("001", GridStr(), Szzls)) = Format(.Fields("PurReciptDate"), "yyyy-mm-dd")          '收料日期
  885.             CxbbGrid.TextMatrix(jsqte, Sydz("002", GridStr(), Szzls)) = Trim(.Fields("PurTypeName") & "")                       '采购类型
  886.             CxbbGrid.TextMatrix(jsqte, Sydz("003", GridStr(), Szzls)) = Trim(.Fields("WhName") & "")                            '仓库名称
  887.             CxbbGrid.TextMatrix(jsqte, Sydz("004", GridStr(), Szzls)) = Trim(.Fields("PurReciptNum") & "")                      '收料通知单号
  888.             CxbbGrid.TextMatrix(jsqte, Sydz("005", GridStr(), Szzls)) = Trim(.Fields("SupplierName") & "")                      '供应商名称
  889.             CxbbGrid.TextMatrix(jsqte, Sydz("006", GridStr(), Szzls)) = Trim(.Fields("DeptName") & "")                          '部门名称
  890.             CxbbGrid.TextMatrix(jsqte, Sydz("007", GridStr(), Szzls)) = Trim(.Fields("PersonName") & "")                        '业务员
  891.             CxbbGrid.TextMatrix(jsqte, Sydz("008", GridStr(), Szzls)) = Trim(.Fields("OrderFormNum") & "")                      '订单号
  892.             CxbbGrid.TextMatrix(jsqte, Sydz("009", GridStr(), Szzls)) = Trim(.Fields("PurPlanNum") & "")                        '计划单号
  893.             CxbbGrid.TextMatrix(jsqte, Sydz("010", GridStr(), Szzls)) = Trim(.Fields("InOutClassName") & "")                    '收发类别
  894.             CxbbGrid.TextMatrix(jsqte, Sydz("011", GridStr(), Szzls)) = Trim(.Fields("Remark") & "")                            '备注
  895.             CxbbGrid.TextMatrix(jsqte, Sydz("012", GridStr(), Szzls)) = Trim(.Fields("Maker") & "")                             '制单人
  896.             CxbbGrid.TextMatrix(jsqte, Sydz("013", GridStr(), Szzls)) = Trim(.Fields("Checker") & "")                           '审核人
  897.             CxbbGrid.TextMatrix(jsqte, Sydz("014", GridStr(), Szzls)) = Trim(.Fields("ChalkitupMan") & "")                      '记帐人
  898.             CxbbGrid.TextMatrix(jsqte, Sydz("015", GridStr(), Szzls)) = Trim(.Fields("MNumber") & "")                           '物料编码
  899.             CxbbGrid.TextMatrix(jsqte, Sydz("016", GridStr(), Szzls)) = Trim(.Fields("MName") & "")                             '物料名称
  900.             CxbbGrid.TextMatrix(jsqte, Sydz("017", GridStr(), Szzls)) = Trim(.Fields("Model") & "")                             '规格型号
  901.             CxbbGrid.TextMatrix(jsqte, Sydz("018", GridStr(), Szzls)) = Trim(.Fields("PurUnitName") & "")                       '计量单位
  902.             CxbbGrid.TextMatrix(jsqte, Sydz("019", GridStr(), Szzls)) = Trim(.Fields("BatchNum") & "")                          '批号
  903.             CxbbGrid.TextMatrix(jsqte, Sydz("020", GridStr(), Szzls)) = IIf(IsNull(.Fields("Quantity")) Or .Fields("Quantity") = 0, "", .Fields("Quantity").Value)                      '数量
  904.             CxbbGrid.TextMatrix(jsqte, Sydz("021", GridStr(), Szzls)) = IIf(IsNull(.Fields("Price")) Or .Fields("Price") = 0, "", .Fields("Price").Value)                               '单价
  905.             CxbbGrid.TextMatrix(jsqte, Sydz("022", GridStr(), Szzls)) = IIf(IsNull(.Fields("PurReciptMoney")) Or .Fields("PurReciptMoney") = 0, "", .Fields("PurReciptMoney").Value)    '金额
  906.             CxbbGrid.TextMatrix(jsqte, Sydz("023", GridStr(), Szzls)) = Format(.Fields("InvaildDate"), "yyyy-mm-dd")            '失效日期
  907.             CxbbGrid.TextMatrix(jsqte, Sydz("024", GridStr(), Szzls)) = Trim(.Fields("PurSortName") & "")                       '采购物料分类
  908.             CxbbGrid.TextMatrix(jsqte, Sydz("025", GridStr(), Szzls)) = Trim(.Fields("VehicleNum") & "")                        '车牌号
  909.             
  910.             '<<]
  911.             '设置数据行高度(Fixed)
  912.             CxbbGrid.RowHeight(jsqte) = Sjhgd
  913.      
  914.             '动态集指针加1,同时将计数器加1(Fixed)
  915.             .MoveNext
  916.             jsqte = jsqte + 1
  917.         Loop
  918.     End With
  919.     ']以上为用户自定义部分
  920. End Sub
  921. Private Sub bbyl(bbylte As Boolean)                    '报表打印预览
  922.     
  923.     Dim Bbzbt$, Bbxbt() As String, bbxbtzzxs() As Integer, Bbxbtgs As Integer
  924.     Dim Bbbwh() As String, Bbbwhzzxs() As Integer, Bbbwhgs As Integer
  925.     Bbxbtgs = 2                                          '报 表 小 标 题 行 数
  926.     Bbbwhgs = 0                                          '报 表 表 尾 行 数
  927.     ReDim Bbxbt(1 To Bbxbtgs)
  928.     ReDim bbxbtzzxs(1 To Bbxbtgs)
  929.     If Bbbwhgs <> 0 Then
  930.         ReDim Bbbwh(1 To Bbbwhgs)
  931.         ReDim Bbbwhzzxs(1 To Bbbwhgs)
  932.     End If
  933.     Bbzbt = ReportTitle
  934.     Bbxbt(1) = ""
  935.     Bbxbt(2) = Space(4) + Fun_FormatOutPut(Me.Lbl_Tslabel(0) + Me.Lbl_Xslabel(0), 10)
  936.     Bbxbt(2) = Bbxbt(2) + Fun_FormatOutPut(Me.Lbl_Tslabel(1) + Me.Lbl_Xslabel(1), 20) + Fun_FormatOutPut(Me.Lbl_Tslabel(2) + Me.Lbl_Xslabel(2), 20)
  937.     Bbxbt(2) = Bbxbt(2) + Fun_FormatOutPut(Me.Lbl_Tslabel(3) + Me.Lbl_Xslabel(3), 20)
  938.     bbxbtzzxs(1) = 0                                     '报表行组织形式(0-居左 1-居中 2-居右)
  939.     Call Scyxsjb(CxbbGrid)                               '生成报表数据
  940.     Call Scdybb(Dyymctbl, Bbzbt, Bbxbt(), bbxbtzzxs(), Bbxbtgs, Bbbwh(), Bbbwhzzxs(), Bbbwhgs, bbylte)
  941.     If Not bbylte Then
  942.         Unload DY_Tybbyldy
  943.     End If
  944. End Sub