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

企业管理

开发平台:

Visual Basic

  1. VERSION 5.00
  2. Object = "{65A39231-6133-11D1-BAA2-444553540000}#1.0#0"; "vslight6.OCX"
  3. Object = "{D76D7128-4A96-11D3-BD95-D296DC2DD072}#1.0#0"; "VSOCX7.OCX"
  4. Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
  5. Begin VB.Form Tr_Roadout_list 
  6.    Caption         =   "汽运卸货单列表"
  7.    ClientHeight    =   6300
  8.    ClientLeft      =   60
  9.    ClientTop       =   345
  10.    ClientWidth     =   11565
  11.    Icon            =   "汽运管理_汽运卸货单列表.frx":0000
  12.    LinkTopic       =   "Form1"
  13.    MDIChild        =   -1  'True
  14.    ScaleHeight     =   6300
  15.    ScaleWidth      =   11565
  16.    Begin VB.PictureBox Pic_Title 
  17.       BackColor       =   &H00FFFFFF&
  18.       Height          =   825
  19.       Left            =   0
  20.       Picture         =   "汽运管理_汽运卸货单列表.frx":1042
  21.       ScaleHeight     =   765
  22.       ScaleWidth      =   11715
  23.       TabIndex        =   0
  24.       Top             =   570
  25.       Width           =   11775
  26.       Begin VB.Label Lab_Title 
  27.          AutoSize        =   -1  'True
  28.          BackColor       =   &H80000018&
  29.          BackStyle       =   0  'Transparent
  30.          Caption         =   "汽运卸货单列表"
  31.          BeginProperty Font 
  32.             Name            =   "宋体"
  33.             Size            =   12
  34.             Charset         =   134
  35.             Weight          =   700
  36.             Underline       =   0   'False
  37.             Italic          =   0   'False
  38.             Strikethrough   =   0   'False
  39.          EndProperty
  40.          ForeColor       =   &H00000000&
  41.          Height          =   240
  42.          Index           =   4
  43.          Left            =   510
  44.          TabIndex        =   1
  45.          Top             =   210
  46.          Width           =   1785
  47.       End
  48.    End
  49.    Begin VB.Timer Timer1 
  50.       Enabled         =   0   'False
  51.       Interval        =   1
  52.       Left            =   7620
  53.       Top             =   90
  54.    End
  55.    Begin MSComctlLib.Toolbar GsToolbar 
  56.       Height          =   540
  57.       Left            =   9330
  58.       TabIndex        =   2
  59.       Top             =   30
  60.       Width           =   2475
  61.       _ExtentX        =   4366
  62.       _ExtentY        =   953
  63.       ButtonWidth     =   1455
  64.       ButtonHeight    =   953
  65.       Appearance      =   1
  66.       Style           =   1
  67.       ImageList       =   "ImageList2"
  68.       _Version        =   393216
  69.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  70.          NumButtons      =   3
  71.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  72.             Caption         =   "保存格式"
  73.             Key             =   "bcgs"
  74.             ImageKey        =   "bcgs"
  75.          EndProperty
  76.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  77.             Caption         =   "默认列宽"
  78.             Key             =   "hfmrgs"
  79.             ImageKey        =   "mrlk"
  80.          EndProperty
  81.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  82.             Caption         =   "显示项目"
  83.             Key             =   "szxsxm"
  84.             ImageKey        =   "xsxm"
  85.          EndProperty
  86.       EndProperty
  87.    End
  88.    Begin VSFlex8Ctl.VSFlexGrid CxbbGrid 
  89.       Height          =   7545
  90.       Left            =   30
  91.       TabIndex        =   3
  92.       Top             =   1470
  93.       Width           =   11775
  94.       _ExtentX        =   20770
  95.       _ExtentY        =   13309
  96.       Appearance      =   1
  97.       BorderStyle     =   1
  98.       Enabled         =   -1  'True
  99.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  100.          Name            =   "宋体"
  101.          Size            =   9
  102.          Charset         =   134
  103.          Weight          =   400
  104.          Underline       =   0   'False
  105.          Italic          =   0   'False
  106.          Strikethrough   =   0   'False
  107.       EndProperty
  108.       MousePointer    =   0
  109.       BackColor       =   16777215
  110.       ForeColor       =   -2147483640
  111.       BackColorFixed  =   13826538
  112.       ForeColorFixed  =   -2147483630
  113.       BackColorSel    =   -2147483635
  114.       ForeColorSel    =   -2147483634
  115.       BackColorBkg    =   -2147483636
  116.       BackColorAlternate=   16777215
  117.       GridColor       =   -2147483633
  118.       GridColorFixed  =   -2147483632
  119.       TreeColor       =   -2147483632
  120.       FloodColor      =   192
  121.       SheetBorder     =   -2147483642
  122.       FocusRect       =   1
  123.       HighLight       =   1
  124.       AllowSelection  =   -1  'True
  125.       AllowBigSelection=   -1  'True
  126.       AllowUserResizing=   0
  127.       SelectionMode   =   0
  128.       GridLines       =   1
  129.       GridLinesFixed  =   2
  130.       GridLineWidth   =   1
  131.       Rows            =   50
  132.       Cols            =   10
  133.       FixedRows       =   1
  134.       FixedCols       =   1
  135.       RowHeightMin    =   0
  136.       RowHeightMax    =   0
  137.       ColWidthMin     =   0
  138.       ColWidthMax     =   0
  139.       ExtendLastCol   =   0   'False
  140.       FormatString    =   ""
  141.       ScrollTrack     =   0   'False
  142.       ScrollBars      =   3
  143.       ScrollTips      =   0   'False
  144.       MergeCells      =   0
  145.       MergeCompare    =   0
  146.       AutoResize      =   -1  'True
  147.       AutoSizeMode    =   0
  148.       AutoSearch      =   0
  149.       MultiTotals     =   -1  'True
  150.       SubtotalPosition=   1
  151.       OutlineBar      =   0
  152.       OutlineCol      =   0
  153.       Ellipsis        =   0
  154.       ExplorerBar     =   0
  155.       PicturesOver    =   0   'False
  156.       FillStyle       =   0
  157.       RightToLeft     =   0   'False
  158.       PictureType     =   0
  159.       TabBehavior     =   0
  160.       OwnerDraw       =   0
  161.       Editable        =   0   'False
  162.       ShowComboButton =   -1  'True
  163.       WordWrap        =   0   'False
  164.       TextStyle       =   0
  165.       TextStyleFixed  =   0
  166.       OleDragMode     =   0
  167.       OleDropMode     =   0
  168.       DataMode        =   0
  169.       VirtualData     =   -1  'True
  170.       Begin MSComctlLib.ImageList ImageList2 
  171.          Left            =   0
  172.          Top             =   0
  173.          _ExtentX        =   1005
  174.          _ExtentY        =   1005
  175.          BackColor       =   -2147483643
  176.          ImageWidth      =   16
  177.          ImageHeight     =   16
  178.          MaskColor       =   12632256
  179.          _Version        =   393216
  180.          BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  181.             NumListImages   =   40
  182.             BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  183.                Picture         =   "汽运管理_汽运卸货单列表.frx":1DF82
  184.                Key             =   "sz"
  185.             EndProperty
  186.             BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  187.                Picture         =   "汽运管理_汽运卸货单列表.frx":1E31C
  188.                Key             =   "dy"
  189.             EndProperty
  190.             BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  191.                Picture         =   "汽运管理_汽运卸货单列表.frx":1E6B6
  192.                Key             =   "yl"
  193.             EndProperty
  194.             BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  195.                Picture         =   "汽运管理_汽运卸货单列表.frx":1EA50
  196.                Key             =   "xg"
  197.             EndProperty
  198.             BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  199.                Picture         =   "汽运管理_汽运卸货单列表.frx":1EDEA
  200.                Key             =   "zh"
  201.             EndProperty
  202.             BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  203.                Picture         =   "汽运管理_汽运卸货单列表.frx":1F184
  204.                Key             =   "sh"
  205.             EndProperty
  206.             BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  207.                Picture         =   "汽运管理_汽运卸货单列表.frx":1F51E
  208.                Key             =   "bc"
  209.             EndProperty
  210.             BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  211.                Picture         =   "汽运管理_汽运卸货单列表.frx":1F8B8
  212.                Key             =   "fq"
  213.             EndProperty
  214.             BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  215.                Picture         =   "汽运管理_汽运卸货单列表.frx":1FC52
  216.                Key             =   "bz"
  217.             EndProperty
  218.             BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  219.                Picture         =   "汽运管理_汽运卸货单列表.frx":1FFEC
  220.                Key             =   "tc"
  221.             EndProperty
  222.             BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  223.                Picture         =   "汽运管理_汽运卸货单列表.frx":20386
  224.                Key             =   "bcgs"
  225.             EndProperty
  226.             BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  227.                Picture         =   "汽运管理_汽运卸货单列表.frx":20720
  228.                Key             =   "mrlk"
  229.             EndProperty
  230.             BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  231.                Picture         =   "汽运管理_汽运卸货单列表.frx":20ABA
  232.                Key             =   "xsxm"
  233.             EndProperty
  234.             BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  235.                Picture         =   "汽运管理_汽运卸货单列表.frx":20E54
  236.                Key             =   "first"
  237.             EndProperty
  238.             BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  239.                Picture         =   "汽运管理_汽运卸货单列表.frx":211EE
  240.                Key             =   "prev"
  241.             EndProperty
  242.             BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  243.                Picture         =   "汽运管理_汽运卸货单列表.frx":21588
  244.                Key             =   "next"
  245.             EndProperty
  246.             BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  247.                Picture         =   "汽运管理_汽运卸货单列表.frx":21922
  248.                Key             =   "last"
  249.             EndProperty
  250.             BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  251.                Picture         =   "汽运管理_汽运卸货单列表.frx":21CBC
  252.                Key             =   "xx"
  253.             EndProperty
  254.             BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  255.                Picture         =   "汽运管理_汽运卸货单列表.frx":22056
  256.                Key             =   "define"
  257.             EndProperty
  258.             BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  259.                Picture         =   "汽运管理_汽运卸货单列表.frx":223F0
  260.                Key             =   "exec"
  261.             EndProperty
  262.             BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  263.                Picture         =   "汽运管理_汽运卸货单列表.frx":2278A
  264.                Key             =   "xz"
  265.             EndProperty
  266.             BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  267.                Picture         =   "汽运管理_汽运卸货单列表.frx":22B24
  268.                Key             =   "sc"
  269.             EndProperty
  270.             BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  271.                Picture         =   "汽运管理_汽运卸货单列表.frx":22EBE
  272.                Key             =   "sx"
  273.             EndProperty
  274.             BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  275.                Picture         =   "汽运管理_汽运卸货单列表.frx":23258
  276.                Key             =   "cx"
  277.             EndProperty
  278.             BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  279.                Picture         =   "汽运管理_汽运卸货单列表.frx":235F2
  280.                Key             =   "zd"
  281.             EndProperty
  282.             BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  283.                Picture         =   "汽运管理_汽运卸货单列表.frx":2398C
  284.                Key             =   "dz"
  285.             EndProperty
  286.             BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  287.                Picture         =   "汽运管理_汽运卸货单列表.frx":23D26
  288.                Key             =   "ph"
  289.             EndProperty
  290.             BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  291.                Picture         =   "汽运管理_汽运卸货单列表.frx":240C0
  292.                Key             =   "fz"
  293.             EndProperty
  294.             BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  295.                Picture         =   "汽运管理_汽运卸货单列表.frx":2445A
  296.                Key             =   "dw"
  297.             EndProperty
  298.             BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  299.                Picture         =   "汽运管理_汽运卸货单列表.frx":247F4
  300.                Key             =   "hf"
  301.             EndProperty
  302.             BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  303.                Picture         =   "汽运管理_汽运卸货单列表.frx":24B8E
  304.                Key             =   "pz"
  305.             EndProperty
  306.             BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  307.                Picture         =   "汽运管理_汽运卸货单列表.frx":24F28
  308.                Key             =   "check"
  309.             EndProperty
  310.             BeginProperty ListImage33 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  311.                Picture         =   "汽运管理_汽运卸货单列表.frx":252C2
  312.                Key             =   "qs"
  313.             EndProperty
  314.             BeginProperty ListImage34 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  315.                Picture         =   "汽运管理_汽运卸货单列表.frx":2565C
  316.                Key             =   "fullcheck"
  317.             EndProperty
  318.             BeginProperty ListImage35 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  319.                Picture         =   "汽运管理_汽运卸货单列表.frx":259F6
  320.                Key             =   "qq"
  321.             EndProperty
  322.             BeginProperty ListImage36 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  323.                Picture         =   "汽运管理_汽运卸货单列表.frx":25D90
  324.                Key             =   "bcw"
  325.             EndProperty
  326.             BeginProperty ListImage37 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  327.                Picture         =   "汽运管理_汽运卸货单列表.frx":2612A
  328.                Key             =   "ye"
  329.             EndProperty
  330.             BeginProperty ListImage38 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  331.                Picture         =   "汽运管理_汽运卸货单列表.frx":264C4
  332.                Key             =   ""
  333.             EndProperty
  334.             BeginProperty ListImage39 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  335.                Picture         =   "汽运管理_汽运卸货单列表.frx":2685E
  336.                Key             =   "frist"
  337.             EndProperty
  338.             BeginProperty ListImage40 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  339.                Picture         =   "汽运管理_汽运卸货单列表.frx":26BF8
  340.                Key             =   "dj"
  341.             EndProperty
  342.          EndProperty
  343.       End
  344.    End
  345.    Begin MSComctlLib.Toolbar SzToolbar 
  346.       Align           =   1  'Align Top
  347.       Height          =   570
  348.       Left            =   0
  349.       TabIndex        =   4
  350.       Top             =   0
  351.       Width           =   11565
  352.       _ExtentX        =   20399
  353.       _ExtentY        =   1005
  354.       ButtonWidth     =   820
  355.       ButtonHeight    =   953
  356.       AllowCustomize  =   0   'False
  357.       Appearance      =   1
  358.       Style           =   1
  359.       ImageList       =   "ImageList1"
  360.       _Version        =   393216
  361.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  362.          NumButtons      =   12
  363.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  364.             Caption         =   "设置"
  365.             Key             =   "ymsz"
  366.             ImageKey        =   "sz"
  367.          EndProperty
  368.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  369.             Caption         =   "打印"
  370.             Key             =   "dy"
  371.             ImageKey        =   "dy"
  372.          EndProperty
  373.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  374.             Caption         =   "预览"
  375.             Key             =   "yl"
  376.             ImageKey        =   "yl"
  377.          EndProperty
  378.          BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  379.             Style           =   3
  380.          EndProperty
  381.          BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  382.             Caption         =   "查询"
  383.             Key             =   "cx"
  384.             ImageKey        =   "cx"
  385.          EndProperty
  386.          BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  387.             Caption         =   "单据"
  388.             Key             =   "Bill"
  389.             ImageKey        =   "pz"
  390.          EndProperty
  391.          BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  392.             Style           =   3
  393.          EndProperty
  394.          BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  395.             Caption         =   "新增"
  396.             Key             =   "xz"
  397.             ImageKey        =   "xz"
  398.          EndProperty
  399.          BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  400.             Caption         =   "删除"
  401.             Key             =   "sc"
  402.             ImageKey        =   "sc"
  403.          EndProperty
  404.          BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  405.             Style           =   3
  406.          EndProperty
  407.          BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  408.             Caption         =   "帮助"
  409.             Key             =   "bz"
  410.             ImageKey        =   "bz"
  411.          EndProperty
  412.          BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  413.             Caption         =   "退出"
  414.             Key             =   "fh"
  415.             ImageKey        =   "tc"
  416.          EndProperty
  417.       EndProperty
  418.       BorderStyle     =   1
  419.       Begin MSComctlLib.ImageList ImageList1 
  420.          Left            =   6990
  421.          Top             =   30
  422.          _ExtentX        =   1005
  423.          _ExtentY        =   1005
  424.          BackColor       =   -2147483643
  425.          ImageWidth      =   16
  426.          ImageHeight     =   16
  427.          MaskColor       =   12632256
  428.          _Version        =   393216
  429.          BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  430.             NumListImages   =   32
  431.             BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  432.                Picture         =   "汽运管理_汽运卸货单列表.frx":26F92
  433.                Key             =   "sz"
  434.             EndProperty
  435.             BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  436.                Picture         =   "汽运管理_汽运卸货单列表.frx":2732C
  437.                Key             =   "dy"
  438.             EndProperty
  439.             BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  440.                Picture         =   "汽运管理_汽运卸货单列表.frx":276C6
  441.                Key             =   "yl"
  442.             EndProperty
  443.             BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  444.                Picture         =   "汽运管理_汽运卸货单列表.frx":27A60
  445.                Key             =   "xg"
  446.             EndProperty
  447.             BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  448.                Picture         =   "汽运管理_汽运卸货单列表.frx":27DFA
  449.                Key             =   "zh"
  450.             EndProperty
  451.             BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  452.                Picture         =   "汽运管理_汽运卸货单列表.frx":28194
  453.                Key             =   "sh"
  454.             EndProperty
  455.             BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  456.                Picture         =   "汽运管理_汽运卸货单列表.frx":2852E
  457.                Key             =   "bc"
  458.             EndProperty
  459.             BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  460.                Picture         =   "汽运管理_汽运卸货单列表.frx":288C8
  461.                Key             =   "fq"
  462.             EndProperty
  463.             BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  464.                Picture         =   "汽运管理_汽运卸货单列表.frx":28C62
  465.                Key             =   "bz"
  466.             EndProperty
  467.             BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  468.                Picture         =   "汽运管理_汽运卸货单列表.frx":28FFC
  469.                Key             =   "tc"
  470.             EndProperty
  471.             BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  472.                Picture         =   "汽运管理_汽运卸货单列表.frx":29396
  473.                Key             =   "bcgs"
  474.             EndProperty
  475.             BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  476.                Picture         =   "汽运管理_汽运卸货单列表.frx":29730
  477.                Key             =   "mrlk"
  478.             EndProperty
  479.             BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  480.                Picture         =   "汽运管理_汽运卸货单列表.frx":29ACA
  481.                Key             =   "xsxm"
  482.             EndProperty
  483.             BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  484.                Picture         =   "汽运管理_汽运卸货单列表.frx":29E64
  485.                Key             =   "first"
  486.             EndProperty
  487.             BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  488.                Picture         =   "汽运管理_汽运卸货单列表.frx":2A1FE
  489.                Key             =   "prev"
  490.             EndProperty
  491.             BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  492.                Picture         =   "汽运管理_汽运卸货单列表.frx":2A598
  493.                Key             =   "next"
  494.             EndProperty
  495.             BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  496.                Picture         =   "汽运管理_汽运卸货单列表.frx":2A932
  497.                Key             =   "last"
  498.             EndProperty
  499.             BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  500.                Picture         =   "汽运管理_汽运卸货单列表.frx":2ACCC
  501.                Key             =   "xx"
  502.             EndProperty
  503.             BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  504.                Picture         =   "汽运管理_汽运卸货单列表.frx":2B066
  505.                Key             =   "define"
  506.             EndProperty
  507.             BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  508.                Picture         =   "汽运管理_汽运卸货单列表.frx":2B400
  509.                Key             =   "exec"
  510.             EndProperty
  511.             BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  512.                Picture         =   "汽运管理_汽运卸货单列表.frx":2B79A
  513.                Key             =   "xz"
  514.             EndProperty
  515.             BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  516.                Picture         =   "汽运管理_汽运卸货单列表.frx":2BB34
  517.                Key             =   "sc"
  518.             EndProperty
  519.             BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  520.                Picture         =   "汽运管理_汽运卸货单列表.frx":2BECE
  521.                Key             =   "sx"
  522.             EndProperty
  523.             BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  524.                Picture         =   "汽运管理_汽运卸货单列表.frx":2C268
  525.                Key             =   "cx"
  526.             EndProperty
  527.             BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  528.                Picture         =   "汽运管理_汽运卸货单列表.frx":2C602
  529.                Key             =   "zd"
  530.             EndProperty
  531.             BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  532.                Picture         =   "汽运管理_汽运卸货单列表.frx":2C99C
  533.                Key             =   "dz"
  534.             EndProperty
  535.             BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  536.                Picture         =   "汽运管理_汽运卸货单列表.frx":2CD36
  537.                Key             =   "ph"
  538.             EndProperty
  539.             BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  540.                Picture         =   "汽运管理_汽运卸货单列表.frx":2D0D0
  541.                Key             =   "fz"
  542.             EndProperty
  543.             BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  544.                Picture         =   "汽运管理_汽运卸货单列表.frx":2D46A
  545.                Key             =   "dw"
  546.             EndProperty
  547.             BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  548.                Picture         =   "汽运管理_汽运卸货单列表.frx":2D804
  549.                Key             =   "hf"
  550.             EndProperty
  551.             BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  552.                Picture         =   "汽运管理_汽运卸货单列表.frx":2DB9E
  553.                Key             =   "pz"
  554.             EndProperty
  555.             BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  556.                Picture         =   "汽运管理_汽运卸货单列表.frx":2DF38
  557.                Key             =   "check"
  558.             EndProperty
  559.          EndProperty
  560.       End
  561.    End
  562. End
  563. Attribute VB_Name = "Tr_Roadout_list"
  564. Attribute VB_GlobalNameSpace = False
  565. Attribute VB_Creatable = False
  566. Attribute VB_PredeclaredId = True
  567. Attribute VB_Exposed = False
  568. '**************************************************************************
  569. '*    模 块 名 称 :汽运卸货单列表
  570. '*    功 能 描 述 :
  571. '*    程序员姓名  :何武广
  572. '*    最后修改人  :何武广
  573. '*    最后修改时间:2001/10/25
  574. '*    备        注:程序中所有依实际情况自定义部分均用[>>  <<]括起
  575. '**************************************************************************
  576. Dim ReportTitle As String                '报表主标题
  577. Dim Str_QueryCondi As String             '用户录入查询条件
  578. Dim Rec_BillID As New ADODB.Recordset    '用户查询单据ID动态集
  579. '以下为固定使用变量
  580. Dim Dyymctbl As New DY_Dyymsz            '打印页面窗体变量
  581. Dim GridCode As String                   '显示网格网格代码
  582. Dim GridInf() As Variant                 '整个网格设置信息
  583. Dim Tsxx As String                       '系统提示信息
  584. Dim Qslz As Long                         '网格隐藏(非操作显示)列数
  585. Dim Sjhgd As Double                      '网格数据行高度
  586. Dim Sfxshjwg As Boolean                  '是否显示合计网格
  587. Dim GridBoolean() As Boolean             '网格列信息(布尔型)
  588. Dim GridStr()  As String                 '网格列信息(字符型)
  589. Dim GridInt() As Integer                 '网格列信息(整型)
  590. Dim szzls As Integer                     '数组总列数(网格列数-1)
  591. Private Sub Form_Resize()                '根据窗体大小来调整网格,标题栏大小(Fixed)
  592.     
  593.     On Error Resume Next
  594.     
  595.     With CxbbGrid
  596.         .Width = Me.Width - 160
  597.         .Height = Me.Height - .Top - 400
  598.     End With
  599.     
  600.     With Pic_Title
  601.         .Width = Me.Width - 160
  602.     End With
  603.     
  604.     GsToolbar.Left = Me.Width - GsToolbar.Width - 140
  605. End Sub
  606. Private Sub Form_Load()                                                   '窗体装入
  607.   
  608.     '调入打印页面设置窗体
  609.     ReportTitle = "汽运卸货单列表"
  610.     XtReportCode = "Tr_roadout_list"
  611.     Load Dyymctbl
  612.   
  613.     '调整标题栏及网格、格式工具条位置(Fixed)
  614.     Pic_Title.Left = 40
  615.     Pic_Title.Top = SzToolbar.Top + SzToolbar.Height - 10
  616.     CxbbGrid.Left = Pic_Title.Left
  617.     CxbbGrid.Top = Pic_Title.Top + Pic_Title.Height + 20
  618.  
  619.     '调 入 网 格(Fixed)
  620.     GridCode = "Tr_roadout_list"
  621.     Call BzWgcsh(CxbbGrid, GridCode, GridInf(), GridBoolean(), GridInt(), GridStr())
  622.   
  623.     Qslz = GridInf(1)
  624.     Sjhgd = GridInf(2)
  625.     Sfxshjwg = GridInf(7)
  626.     szzls = CxbbGrid.Cols - 1
  627. End Sub
  628. Private Sub Form_Unload(Cancel As Integer)                                  '窗体卸载
  629.     '卸载条件窗体
  630.     Tr_RoadOutcxtj.UnloadCheck.Value = 1
  631.     Unload Tr_RoadOutcxtj
  632.     
  633.     '卸载打印页面设置窗体
  634.     Unload Dyymctbl
  635. End Sub
  636. Private Sub CxbbGrid_BeforeMoveColumn(ByVal Col As Long, Position As Long)           '网格列发生移动时自动交换网格索引信息
  637.     Call FnBln_RefreshArray(Col, Position, GridStr(), GridInf())
  638. End Sub
  639. Private Sub GsToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)       '网格格式调整(Fixed)
  640.     
  641.     Select Case Button.Key
  642.         Case "bcgs"                                          '保存表格格式
  643.             Call Bcwggs(CxbbGrid, GridCode, GridStr())
  644.         Case "hfmrgs"                                        '恢复默认格式
  645.             Call Hfmrgs(CxbbGrid, GridCode, GridStr())
  646.         Case "szxsxm"                                        '设置显示项目
  647.             Call Szxsxm(CxbbGrid, GridCode)
  648.     End Select
  649. End Sub
  650. Private Sub SzToolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
  651.     
  652.     Select Case Button.Key
  653.         Case "ymsz"                                          '页面设置
  654.             Dyymctbl.Show 1
  655.         Case "yl"                                            '预 览
  656.             Call bbyl(True)
  657.         Case "dy"                                            '打 印
  658.             Call bbyl(False)
  659.         Case "cx"                                            '查 询
  660.             Tr_RoadOutcxtj.Show 1
  661.         Case "Bill"                                          '单 据
  662.             Call CxbbGrid_DblClick
  663.         Case "xz"                                            '新 增
  664.                  
  665.             '判断用户是否有此功能执行权限,如有则写上机日志(进入)
  666.              If Not Security_Log("tr_roadouting_edit", Xtczybm, 1, True) Then
  667.                 Exit Sub
  668.              End If
  669.                
  670.             Call Sub_AddBill
  671.         Case "sc"                                            '删 除
  672.      
  673.             '判断用户是否有此功能执行权限,如有则写上机日志(进入)
  674.              If Not Security_Log("tr_roadouting_edit", Xtczybm, 1, True) Then
  675.                 Exit Sub
  676.              End If
  677.                            
  678.             Call Sub_DeleteBill
  679.         Case "bz"                                            '帮 助
  680.             Call F1bz
  681.         Case "fh"                                            '退 出
  682.             Unload Me
  683.     End Select
  684. End Sub
  685. Private Sub Timer1_Timer()                                 '在窗体激活后调入查询程序
  686.     
  687.     Timer1.Enabled = False
  688.     Xt_Wait.Show
  689.     Xt_Wait.Refresh
  690.    
  691.     '加快显示速度
  692.     CxbbGrid.Redraw = False
  693.  
  694.     '生成查询结果
  695.     Call Sub_Query(0)
  696.    
  697.     CxbbGrid.Redraw = True
  698.     
  699.     Xt_Wait.Hide
  700. End Sub
  701. Private Sub Sub_Query(Int_QueryType As Integer)                                     '生成查询结果(Define)
  702.     
  703.     '过程参数:Int_QueryType 0-"点确定按钮"查询  1-"刷新"查询
  704.     Dim Rec_Query As New ADODB.Recordset        '查询结果动态集
  705.     Dim Coljsq As Long                          '网格列计数器
  706.     Dim jsqte As Integer                       '临时动态计数器
  707.     '以下为自定义部分[
  708.  
  709.     If Int_QueryType = 0 Then   '0-"点确定按钮"查询
  710.         With Tr_RoadOutcxtj
  711.          
  712.             '生成查询条件
  713.             Str_QueryCondi = " where 1=1 "
  714.          
  715.             For jsqte = 1 To 9
  716.                 Select Case jsqte
  717.                     Case 1  '查询日期范围(起始)
  718.                         If Trim(.LrText(0).Text) <> "" Then
  719.                             Str_QueryCondi = Str_QueryCondi & " And outDate>=' " & Trim(.LrText(0).Text) & "'"
  720.                         End If
  721.                     Case 2  '查询日期范围(终止)
  722.                         If Trim(.LrText(1).Text) <> "" Then
  723.                             Str_QueryCondi = Str_QueryCondi & " And outDate<= ' " & Trim(.LrText(1).Text) & "'"
  724.                         End If
  725.                     Case 3
  726.                         If Trim(.LrText(2).Text) <> "" Then
  727.                             Str_QueryCondi = Str_QueryCondi & " And roadoutingnum like '" & Trim(.LrText(2).Text) & "%'"
  728.                         End If
  729.                     Case 4
  730.                         If Trim(.LrText(3).Text) <> "" Then
  731.                             Str_QueryCondi = Str_QueryCondi & " and sourceCode = '" & Trim(.LrText(3).Tag) & "'"
  732.                         End If
  733.                     Case 5
  734.                         If Trim(.LrText(4).Text) <> "" Then
  735.                             Str_QueryCondi = Str_QueryCondi & " and  mnumber= '" & Trim(.LrText(4).Text) & "'"
  736.                         End If
  737.                     Case 6
  738.                         If Trim(.LrText(5).Text) <> "" Then
  739.                             Str_QueryCondi = Str_QueryCondi & " and receivecode = '" & Trim(.LrText(5).Tag) & "'"
  740.                         End If
  741.                     Case 7
  742.                         If Trim(.LrText(6).Text) <> "" Then
  743.                             Str_QueryCondi = Str_QueryCondi & " and returndate> = '" & Trim(.LrText(6).Text) & "'"
  744.                         End If
  745.                     Case 8
  746.                         If Trim(.LrText(7).Text) <> "" Then
  747.                             Str_QueryCondi = Str_QueryCondi & " and returndate< = '" & Trim(.LrText(7).Text) & "'"
  748.                         End If
  749.                     Case 9  '审核状态
  750.                         If Not .Opt_Check(0).Value Then
  751.                             If .Opt_Check(1).Value Then
  752.                                 Str_QueryCondi = Str_QueryCondi & " and  Checker='' "
  753.                             Else
  754.                                 Str_QueryCondi = Str_QueryCondi & " and  Checker<>'' "
  755.                             End If
  756.                         End If
  757.                 End Select
  758.             Next jsqte
  759.         End With
  760.     Else
  761.         '1-"刷新"查询
  762.         If Str_QueryCondi = "" Then
  763.             Str_QueryCondi = " where 1=2 "
  764.         End If
  765.     End If
  766.      
  767.     Sqlstr = "SELECT * from tr_v_RoadOuting " & _
  768.              Str_QueryCondi & " Order By outDate,RoadOutingnum"
  769.     Set Rec_Query = Cw_DataEnvi.DataConnect.Execute(Sqlstr)
  770.     With Rec_Query
  771.         CxbbGrid.Rows = CxbbGrid.FixedRows
  772.         jsqte = CxbbGrid.FixedRows
  773.         Do While Not .EOF
  774.             CxbbGrid.AddItem ""
  775.             
  776.             '[>>自定义填充内容
  777.             CxbbGrid.TextMatrix(jsqte, 0) = .Fields("RoadOutingID")
  778.             CxbbGrid.TextMatrix(jsqte, Sydz("001", GridStr(), szzls)) = Format(.Fields("outDate"), "yyyy-mm-dd")    '卸车日期
  779.             CxbbGrid.TextMatrix(jsqte, Sydz("002", GridStr(), szzls)) = Trim(.Fields("roadoutingnum") & "")         '卸货单号
  780.             CxbbGrid.TextMatrix(jsqte, Sydz("003", GridStr(), szzls)) = Trim(.Fields("sourceName") & "")            '货源单位
  781.             CxbbGrid.TextMatrix(jsqte, Sydz("004", GridStr(), szzls)) = Trim(.Fields("mName") & "")                 '货物名称
  782.             CxbbGrid.TextMatrix(jsqte, Sydz("005", GridStr(), szzls)) = Trim(.Fields("model") & "")                 '规格
  783.             CxbbGrid.TextMatrix(jsqte, Sydz("006", GridStr(), szzls)) = Trim(.Fields("quantity") & "")              '吨位
  784.             CxbbGrid.TextMatrix(jsqte, Sydz("007", GridStr(), szzls)) = Trim(.Fields("TranCompanyName") & "")       '承运单位
  785.             CxbbGrid.TextMatrix(jsqte, Sydz("008", GridStr(), szzls)) = Trim(.Fields("Trucksign") & "")             '车号
  786.             CxbbGrid.TextMatrix(jsqte, Sydz("009", GridStr(), szzls)) = Trim(.Fields("driver") & "")                '司机
  787.             CxbbGrid.TextMatrix(jsqte, Sydz("010", GridStr(), szzls)) = IIf(.Fields("returndate") & "" = "", "", Format(.Fields("returndate"), "yyyy-mm-dd"))  '返回日期
  788.             CxbbGrid.TextMatrix(jsqte, Sydz("011", GridStr(), szzls)) = Trim(.Fields("remark") & "")                '备注
  789.             CxbbGrid.TextMatrix(jsqte, Sydz("012", GridStr(), szzls)) = Trim(.Fields("maker") & "")                 '制单人
  790.             CxbbGrid.TextMatrix(jsqte, Sydz("013", GridStr(), szzls)) = Trim(.Fields("Checker") & "")               '审核人
  791.             '<<]
  792.      
  793.             '设置数据行高度(Fixed)
  794.             CxbbGrid.RowHeight(jsqte) = Sjhgd
  795.             
  796.             '动态集指针加1,同时将计数器加1(Fixed)
  797.             .MoveNext
  798.             jsqte = jsqte + 1
  799.         Loop
  800.     End With
  801.     ']以上为用户自定义部分
  802. End Sub
  803. Private Sub CxbbGrid_DblClick()                                              '用户双击网格调入相应单据
  804.     Dim RecTemp As New ADODB.Recordset               '临时使用动态集
  805.     '当第一次查询结果为空时,判断总记录行是否与固定行数相同,如相同则出现错误(双表头出现此情况)
  806.     If CxbbGrid.Rows = CxbbGrid.FixedRows Then
  807.         Exit Sub
  808.     End If
  809.     '非数据行退出
  810.     If CxbbGrid.Row < CxbbGrid.FixedRows Or Val(CxbbGrid.TextMatrix(CxbbGrid.Row, 0)) = 0 Then
  811.         Exit Sub
  812.     End If
  813.     Sqlstr = "SELECT RoadOutingID From Tr_RoadOuting Where RoadOutingID=" & Val(CxbbGrid.TextMatrix(CxbbGrid.Row, 0))
  814.     Set RecTemp = Cw_DataEnvi.DataConnect.Execute(Sqlstr)
  815.     With RecTemp
  816.         If .EOF Then
  817.             Tsxx = "此卸货单已被其他用户删除!"
  818.             Call Xtxxts(Tsxx, 0, 4)
  819.             Exit Sub
  820.         Else
  821.             '调入单据处理窗体
  822.             With Tr_RoadOuting
  823.                 
  824.                 '填充查询单据标识
  825.                 XT_BillID = CxbbGrid.TextMatrix(CxbbGrid.Row, 0)
  826.                 Xtcdcsfz = Str_QueryCondi
  827.                 
  828.                 '设置单据处理为列表查询(修改)状态
  829.                 Xtcdcs = "2"
  830.                 .Show 1
  831.             End With
  832.             
  833.             If Xtfhcs = "1" Then
  834.                 Tsxx = "卸货单发生变化,是否刷新卸货单列表?"
  835.                 yhAnswer = Xtxxts(Tsxx, 2, 2)
  836.                 If yhAnswer = 1 Then
  837.                     Xt_Wait.Show
  838.                     Xt_Wait.Refresh
  839.                     
  840.                     '加快显示速度
  841.                     CxbbGrid.Redraw = False
  842.                     '生成查询结果
  843.                     Call Sub_Query(1)
  844.    
  845.                     CxbbGrid.Redraw = True
  846.     
  847.                     Xt_Wait.Hide
  848.                 End If
  849.             End If
  850.         End If
  851.     End With
  852. End Sub
  853. Private Sub Sub_AddBill()                                              '新增单据
  854.     
  855.     With Tr_RoadOuting
  856.        
  857.         '设置单据处理为填制单据状态
  858.         Xtcdcs = "1"
  859.          
  860.         .Show 1
  861.     End With
  862.        
  863.     If Xtfhcs = "1" Then
  864.         Tsxx = "卸货单发生变化,是否刷新卸货单列表?"
  865.         yhAnswer = Xtxxts(Tsxx, 2, 2)
  866.         
  867.         If yhAnswer = 1 Then
  868.             Xt_Wait.Show
  869.             Xt_Wait.Refresh
  870.             
  871.             '加快显示速度
  872.             CxbbGrid.Redraw = False
  873.             
  874.             '生成查询结果
  875.             Call Sub_Query(1)
  876.             
  877.             CxbbGrid.Redraw = True
  878.             Xt_Wait.Hide
  879.         End If
  880.     End If
  881.    
  882. End Sub
  883. Private Sub Sub_DeleteBill()                                            '删除选中当前单据
  884.     
  885.     Dim YAnswer As Integer
  886.     Dim Lng_BillID As Long           '单据标识
  887.   
  888.     '非数据行退出
  889.     If CxbbGrid.Row < CxbbGrid.FixedRows Or Val(CxbbGrid.TextMatrix(CxbbGrid.Row, 0)) = 0 Then
  890.         Exit Sub
  891.     End If
  892.   
  893.     Tsxx = "请确认是否删除当前卸货单?"
  894.     yhAnswer = Xtxxts(Tsxx, 2, 2)
  895.   
  896.     If yhAnswer = 1 Then
  897.   
  898.         '1.判断当前单据是否允许删除
  899.         If Not Fun_AllowDelete Then
  900.             Exit Sub
  901.         End If
  902.   
  903.         '2.删除单据所有内容
  904.         Lng_BillID = Val(CxbbGrid.TextMatrix(CxbbGrid.Row, 0))
  905.       
  906.         On Error GoTo Swcwcl
  907.     
  908.         Cw_DataEnvi.DataConnect.BeginTrans
  909.         Cw_DataEnvi.DataConnect.Execute ("Delete Tr_RoadOuting Where RoadOutingID=" & Lng_BillID)        '删除单据内容
  910.         Cw_DataEnvi.DataConnect.CommitTrans
  911.       
  912.         '删除网格中单据数据
  913.         CxbbGrid.RemoveItem (CxbbGrid.Row)
  914.     Else
  915.         Exit Sub
  916.     End If
  917.   
  918.     Exit Sub
  919. Swcwcl:
  920.     Cw_DataEnvi.DataConnect.RollbackTrans
  921.     Tsxx = "删除单据过程中出现未知错误,程序自动恢复删除前状态!"
  922.     Call Xtxxts(Tsxx, 0, 1)
  923.     Exit Sub
  924.   
  925. End Sub
  926. Private Function Fun_AllowDelete() As Boolean                                        '判断当前单据是否允许删除
  927.   
  928.     Dim RecTemp As New ADODB.Recordset     '临时使用动态集
  929.     Dim Sqlstr As String                   '查询字符串
  930.     Dim Lng_BillID As Long                 '单据ID
  931.   
  932.     Lng_BillID = Val(CxbbGrid.TextMatrix(CxbbGrid.Row, 0))
  933.     Sqlstr = "Select Checker From Tr_RoadOuting Where RoadOutingID=" & Lng_BillID
  934.     Set RecTemp = Cw_DataEnvi.DataConnect.Execute(Sqlstr)
  935.     With RecTemp
  936.         If Not .EOF Then
  937.             If Trim(.Fields("Checker") & "") <> "" Then
  938.                 Tsxx = "该卸货单已审核确认,不能删除!"
  939.                 Call Xtxxts(Tsxx, 0, 4)
  940.                 Exit Function
  941.             End If
  942.             End If
  943.     End With
  944.     Fun_AllowDelete = True
  945.   
  946. End Function
  947. Private Sub bbyl(bbylte As Boolean)                    '报表打印预览
  948.     
  949.     Dim Bbzbt$, Bbxbt() As String, bbxbtzzxs() As Integer, Bbxbtgs As Integer
  950.     Dim Bbbwh() As String, Bbbwhzzxs() As Integer, Bbbwhgs As Integer
  951.     Bbxbtgs = 1                                          '报 表 小 标 题 行 数
  952.     Bbbwhgs = 0                                          '报 表 表 尾 行 数
  953.     
  954.     ReDim Bbxbt(1 To Bbxbtgs)
  955.     ReDim bbxbtzzxs(1 To Bbxbtgs)
  956.     If Bbbwhgs <> 0 Then
  957.         ReDim Bbbwh(1 To Bbbwhgs)
  958.         ReDim Bbbwhzzxs(1 To Bbbwhgs)
  959.     End If
  960.     
  961.     Bbzbt = ReportTitle
  962.     Bbxbt(1) = ""
  963.     bbxbtzzxs(1) = 0                                     '报表行组织形式(0-居左 1-居中 2-居右)
  964.     Call Scyxsjb(CxbbGrid)                               '生成报表数据
  965.     Call Scdybb(Dyymctbl, Bbzbt, Bbxbt(), bbxbtzzxs(), Bbxbtgs, Bbbwh(), Bbbwhzzxs(), Bbbwhgs, bbylte)
  966.     If Not bbylte Then
  967.         Unload DY_Tybbyldy
  968.     End If
  969. End Sub