⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pr270report.~dfm

📁 一套融入了系统营销管理思想的管理软件产品
💻 ~DFM
字号:
inherited qrPR270: TqrPR270
  Functions.DATA = (
    '0'
    '0'
    #39#39)
  Page.Values = (
    50
    2970
    50
    2100
    50
    50
    0)
  inherited bdPageHeader: TQRBand
    Size.Values = (
      280.458333333333
      2000.25)
    inherited CompanyName: TQRLabel
      Size.Values = (
        66.1458333333333
        838.729166666667
        0
        322.791666666667)
      FontSize = 16
    end
    inherited QRSysData1: TQRSysData
      Size.Values = (
        44.9791666666667
        1778
        52.9166666666667
        113.770833333333)
      FontSize = 10
    end
    inherited QRSysData2: TQRSysData
      Size.Values = (
        44.9791666666667
        1778
        105.833333333333
        132.291666666667)
      FontSize = 10
    end
    inherited QRLabel1: TQRLabel
      Size.Values = (
        44.9791666666667
        1598.08333333333
        52.9166666666667
        158.75)
      FontSize = 10
    end
    inherited QRLabel2: TQRLabel
      Size.Values = (
        44.9791666666667
        1598.08333333333
        105.833333333333
        89.9583333333333)
      FontSize = 10
    end
    inherited ReportName: TQRLabel
      Left = 325
      Width = 106
      Size.Values = (
        58.2083333333333
        859.895833333333
        63.5
        280.458333333333)
      Caption = #36914#36008#25490#34892#27036
      FontSize = 16
    end
    inherited QRLabel4: TQRLabel
      Size.Values = (
        44.9791666666667
        1598.08333333333
        0
        158.75)
      FontSize = 10
    end
    inherited QRLabel5: TQRLabel
      Width = 36
      Size.Values = (
        44.9791666666667
        1778
        0
        95.25)
      Caption = 'PR270'
      FontSize = 10
    end
    object QRLabel10: TQRLabel
      Left = 356
      Top = 88
      Width = 53
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        941.916666666667
        232.833333333333
        140.229166666667)
      Alignment = taRightJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Caption = #36914#36008#25976#37327
      Color = clWhite
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRLabel11: TQRLabel
      Left = 476
      Top = 88
      Width = 53
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        1259.41666666667
        232.833333333333
        140.229166666667)
      Alignment = taRightJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Caption = #36914#36008#37329#38989
      Color = clWhite
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRLabel7: TQRLabel
      Left = 156
      Top = 88
      Width = 66
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        412.75
        232.833333333333
        174.625)
      Alignment = taLeftJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Caption = #20379#25033#21830#31777#31281
      Color = clWhite
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRLabel6: TQRLabel
      Left = 68
      Top = 88
      Width = 66
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        179.916666666667
        232.833333333333
        174.625)
      Alignment = taLeftJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Caption = #20379#25033#21830#32232#34399
      Color = clWhite
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRLabel8: TQRLabel
      Left = 28
      Top = 88
      Width = 27
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        74.0833333333333
        232.833333333333
        71.4375)
      Alignment = taLeftJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Caption = #21517#27425
      Color = clWhite
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
  end
  inherited bgDetail: TQRBand
    Size.Values = (
      60.8541666666667
      2000.25)
    object QRDBText6: TQRDBText
      Left = 437
      Top = 4
      Width = 99
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        1156.22916666667
        10.5833333333333
        261.9375)
      Alignment = taRightJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Color = clWhite
      DataSet = qyReport
      DataField = 'PurchaseAmount'
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRDBText5: TQRDBText
      Left = 295
      Top = 4
      Width = 113
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        780.520833333333
        10.5833333333333
        298.979166666667)
      Alignment = taRightJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Color = clWhite
      DataSet = qyReport
      DataField = 'PurchaseQuantity'
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRDBText1: TQRDBText
      Left = 68
      Top = 4
      Width = 71
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        179.916666666667
        10.5833333333333
        187.854166666667)
      Alignment = taLeftJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Color = clWhite
      DataSet = qyReport
      DataField = 'SupplierID'
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRDBText2: TQRDBText
      Left = 156
      Top = 4
      Width = 127
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        412.75
        10.5833333333333
        336.020833333333)
      Alignment = taLeftJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Color = clWhite
      DataSet = qyReport
      DataField = 'SupplierAttribName'
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
    object QRDBText3: TQRDBText
      Left = 34
      Top = 4
      Width = 22
      Height = 14
      Frame.Color = clBlack
      Frame.DrawTop = False
      Frame.DrawBottom = False
      Frame.DrawLeft = False
      Frame.DrawRight = False
      Size.Values = (
        37.0416666666667
        89.9583333333333
        10.5833333333333
        58.2083333333333)
      Alignment = taRightJustify
      AlignToBand = False
      AutoSize = True
      AutoStretch = False
      Color = clWhite
      DataSet = qyReport
      DataField = 'SEQ'
      Transparent = False
      WordWrap = True
      FontSize = 10
    end
  end
  inherited bdPageFooter: TQRBand
    Size.Values = (
      105.833333333333
      2000.25)
    inherited QRLabel3: TQRLabel
      Size.Values = (
        44.9791666666667
        1651
        52.9166666666667
        89.9583333333333)
      FontSize = 10
    end
    inherited UserName: TQRLabel
      Size.Values = (
        44.9791666666667
        1746.25
        52.9166666666667
        150.8125)
      FontSize = 10
    end
  end
  inherited qyReport: TQuery
    CachedUpdates = True
    BeforeOpen = qyReportBeforeOpen
    RequestLive = True
    SQL.Strings = (
      'SELECT 0 AS SEQ, S.SupplierAttribName, A.SupplierID,'
      
        'SUM(A.PurchaseQuantity - A.PurchaseReturnQuantity) AS PurchaseQu' +
        'antity,'
      'SUM(A.PurchaseAmount - A.PurchaseReturnAmount) AS PurchaseAmount'
      'FROM PurchaseAnalyst A, Supplier S'
      'WHERE A.CompanyID = :CompanyID'
      
        'AND A.SupplierID >= :BeginSupplierID AND A.SupplierID <= :EndSup' +
        'plierID'
      'AND (A.PurchaseYear + A.PurchaseMonth) >= :BeginYearMonth'
      'AND (A.PurchaseYear + A.PurchaseMonth) <= :EndYearMonth'
      'AND A.CompanyID = S.CompanyID AND A.SupplierID = S.SupplierID'
      'GROUP BY S.SupplierAttribName, A.SupplierID'
      'ORDER BY SUM(A.PurchaseAmount - A.PurchaseReturnAmount) DESC')
    UpdateObject = UpdateSQL1
    Top = 24
    ParamData = <
      item
        DataType = ftString
        Name = 'CompanyID'
        ParamType = ptUnknown
      end
      item
        DataType = ftString
        Name = 'BeginSupplierID'
        ParamType = ptUnknown
      end
      item
        DataType = ftString
        Name = 'EndSupplierID'
        ParamType = ptUnknown
      end
      item
        DataType = ftString
        Name = 'BeginYearMonth'
        ParamType = ptUnknown
      end
      item
        DataType = ftString
        Name = 'EndYearMonth'
        ParamType = ptUnknown
      end>
    object qyReportSEQ: TIntegerField
      FieldName = 'SEQ'
    end
    object qyReportSupplierID: TStringField
      FieldName = 'SupplierID'
      Origin = 'KINGSBYPRG.PurchaseAnalyst.SupplierID'
      FixedChar = True
      Size = 8
    end
    object qyReportSupplierAttribName: TStringField
      FieldName = 'SupplierAttribName'
      Origin = 'KINGSBYPRG.Supplier.SupplierAttribName'
      FixedChar = True
      Size = 10
    end
    object qyReportPurchaseQuantity: TBCDField
      FieldName = 'PurchaseQuantity'
      Origin = 'KINGSBYPRG.PurchaseAnalyst.PurchaseQuantity'
      DisplayFormat = '#,##0'
      Precision = 12
      Size = 0
    end
    object qyReportPurchaseAmount: TBCDField
      FieldName = 'PurchaseAmount'
      Origin = 'KINGSBYPRG.PurchaseAnalyst.PurchaseAmount'
      DisplayFormat = '#,##0'
      Precision = 12
      Size = 0
    end
  end
  object UpdateSQL1: TUpdateSQL
    Left = 100
    Top = 28
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -