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

企业管理

开发平台:

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