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

企业管理

开发平台:

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