object ppReportX: TppReportX
  AutoStop = False
  DataPipeline = daBDEQueryDataViewX1.ListCdContent
  PrinterSetup.BinName = 'Default'
  PrinterSetup.DocumentName = 'Report'
  PrinterSetup.PaperName = '210 x 297 mm'
  PrinterSetup.PrinterName = 'Default'
  PrinterSetup.mmMarginBottom = 6350
  PrinterSetup.mmMarginLeft = 6350
  PrinterSetup.mmMarginRight = 6350
  PrinterSetup.mmMarginTop = 6350
  PrinterSetup.mmPaperHeight = 297000
  PrinterSetup.mmPaperWidth = 210000
  PrinterSetup.PaperSize = 9
  Template.DatabaseSettings.DataPipeline = plItem
  Template.DatabaseSettings.NameField = 'item_name'
  Template.DatabaseSettings.TemplateField = 'Template'
  Template.FileName = 
    'D:\KARESTANDELPHISOURCE\PRJMANAGMENT\BIN\reports\ListOfCdContent' +
    '.rtm'
  Template.Format = ftASCII
  Units = utMillimeters
  AllowPrintToArchive = True
  AllowPrintToFile = True
  ArchiveFileName = 
    'D:\KARESTANDELPHISOURCE\PRJMANAGMENT\BIN\reports\ListOfCdContent' +
    '.raf'
  DeviceType = 'Screen'
  Language = lgCustom
  ModalCancelDialog = False
  ModalPreview = False
  ShowAutoSearchDialog = True
  TextFileName = 
    'D:\KARESTANDELPHISOURCE\PRJMANAGMENT\BIN\reports\ListOfCdContent' +
    '.txt'
  Left = 288
  Top = 168
  Version = '6.02'
  mmColumnWidth = 0
  DataPipelineName = 'ListCdContent'
  object ppTitleBand1: TppTitleBand
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 33602
    mmPrintPosition = 0
    object ppShape2: TppShape
      UserName = 'Shape2'
      mmHeight = 9525
      mmLeft = 5292
      mmTop = 23813
      mmWidth = 188384
      BandType = 1
    end
    object ppShape1: TppShape
      UserName = 'Shape1'
      mmHeight = 19315
      mmLeft = 5292
      mmTop = 4763
      mmWidth = 188384
      BandType = 1
    end
    object ppLabel1: TppLabel
      UserName = 'Label1'
      AutoSize = False
      Caption = 'به نام خداوند جان و خرد'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clNavy
      Font.Name = 'Titr'
      Font.Size = 22
      Font.Style = []
      TextAlignment = taCentered
      mmHeight = 13631
      mmLeft = 5821
      mmTop = 5292
      mmWidth = 169863
      BandType = 1
    end
    object ppLabel2: TppLabel
      UserName = 'Label2'
      Caption = 'متن مورد جستجو'
      Font.Charset = ARABIC_CHARSET
      Font.Color = clWindowText
      Font.Name = 'Lotus'
      Font.Size = 12
      Font.Style = []
      TextAlignment = taRightJustified
      mmHeight = 6085
      mmLeft = 161396
      mmTop = 25400
      mmWidth = 31221
      BandType = 1
    end
    object ppVariable1: TppVariable
      UserName = 'Variable1'
      AutoSize = False
      CalcOrder = 0
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Name = 'MS Sans Serif'
      Font.Size = 12
      Font.Style = [fsBold]
      TextAlignment = taRightJustified
      mmHeight = 6085
      mmLeft = 34660
      mmTop = 25400
      mmWidth = 121179
      BandType = 1
    end
  end
  object ppHeaderBand1: TppHeaderBand
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 7408
    mmPrintPosition = 0
  end
  object ppDetailBand1: TppDetailBand
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 13229
    mmPrintPosition = 0
    object ppShape12: TppShape
      UserName = 'Shape12'
      mmHeight = 6879
      mmLeft = 5027
      mmTop = 0
      mmWidth = 71702
      BandType = 4
    end
    object ppShape8: TppShape
      UserName = 'Shape8'
      mmHeight = 6879
      mmLeft = 76729
      mmTop = 0
      mmWidth = 81756
      BandType = 4
    end
    object ppDBText1: TppDBText
      UserName = 'DBText1'
      DataField = 'name'
      DataPipeline = daBDEQueryDataViewX1.ListCdContent
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Arial'
      Font.Size = 10
      Font.Style = []
      DataPipelineName = 'ListCdContent'
      mmHeight = 3969
      mmLeft = 77258
      mmTop = 1323
      mmWidth = 80698
      BandType = 4
    end
    object ppDBText2: TppDBText
      UserName = 'DBText2'
      DataField = 'path'
      DataPipeline = daBDEQueryDataViewX1.ListCdContent
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Name = 'Arial'
      Font.Size = 10
      Font.Style = []
      DataPipelineName = 'ListCdContent'
      mmHeight = 5821
      mmLeft = 5556
      mmTop = 529
      mmWidth = 70644
      BandType = 4
    end
  end
  object ppFooterBand1: TppFooterBand
    mmBottomOffset = 0
    mmHeight = 13229
    mmPrintPosition = 0
  end
  object ppSummaryBand1: TppSummaryBand
    PrintHeight = phDynamic
    mmBottomOffset = 0
    mmHeight = 13229
    mmPrintPosition = 0
  end
  object ppGroup1: TppGroup
    BreakName = 'CdID'
    DataPipeline = daBDEQueryDataViewX1.ListCdContent
    UserName = 'Group1'
    mmNewColumnThreshold = 0
    mmNewPageThreshold = 0
    DataPipelineName = 'ListCdContent'
    object ppGroupHeaderBand1: TppGroupHeaderBand
      mmBottomOffset = 0
      mmHeight = 14817
      mmPrintPosition = 0
      object ppShape5: TppShape
        UserName = 'Shape5'
        mmHeight = 7408
        mmLeft = 173038
        mmTop = 529
        mmWidth = 20638
        BandType = 3
        GroupNo = 0
      end
      object ppLabel5: TppLabel
        UserName = 'Label5'
        AutoSize = False
        Caption = ': شماره سي دي'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Name = 'Lotus'
        Font.Size = 10
        Font.Style = [fsBold]
        TextAlignment = taCentered
        mmHeight = 6265
        mmLeft = 173567
        mmTop = 1058
        mmWidth = 19579
        BandType = 3
        GroupNo = 0
      end
      object ppShape6: TppShape
        UserName = 'Shape6'
        mmHeight = 7408
        mmLeft = 161132
        mmTop = 529
        mmWidth = 11377
        BandType = 3
        GroupNo = 0
      end
      object ppDBText3: TppDBText
        UserName = 'DBText3'
        DataField = 'CdID'
        DataPipeline = daBDEQueryDataViewX1.ListCdContent
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Arial'
        Font.Size = 12
        Font.Style = [fsBold]
        TextAlignment = taCentered
        DataPipelineName = 'ListCdContent'
        mmHeight = 4995
        mmLeft = 161661
        mmTop = 1058
        mmWidth = 10319
        BandType = 3
        GroupNo = 0
      end
      object ppShape10: TppShape
        UserName = 'Shape10'
        mmHeight = 7408
        mmLeft = 76729
        mmTop = 529
        mmWidth = 60590
        BandType = 3
        GroupNo = 0
      end
      object ppDBText4: TppDBText
        UserName = 'DBText4'
        DataField = 'farsi_name'
        DataPipeline = daBDEQueryDataViewX1.ListCdContent
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Lotus'
        Font.Size = 10
        Font.Style = [fsBold]
        TextAlignment = taRightJustified
        DataPipelineName = 'ListCdContent'
        mmHeight = 6265
        mmLeft = 77258
        mmTop = 1058
        mmWidth = 59531
        BandType = 3
        GroupNo = 0
      end
      object ppShape9: TppShape
        UserName = 'Shape9'
        mmHeight = 7408
        mmLeft = 138113
        mmTop = 529
        mmWidth = 20373
        BandType = 3
        GroupNo = 0
      end
      object ppLabel6: TppLabel
        UserName = 'Label6'
        AutoSize = False
        Caption = ': نام فارسي'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Name = 'Lotus'
        Font.Size = 10
        Font.Style = [fsBold]
        TextAlignment = taCentered
        mmHeight = 6265
        mmLeft = 138642
        mmTop = 1058
        mmWidth = 19315
        BandType = 3
        GroupNo = 0
      end
      object ppShape14: TppShape
        UserName = 'Shape14'
        mmHeight = 7408
        mmLeft = 5027
        mmTop = 529
        mmWidth = 52917
        BandType = 3
        GroupNo = 0
      end
      object ppDBText5: TppDBText
        UserName = 'DBText5'
        DataField = 'english_name'
        DataPipeline = daBDEQueryDataViewX1.ListCdContent
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Name = 'Arial'
        Font.Size = 12
        Font.Style = [fsBold]
        DataPipelineName = 'ListCdContent'
        mmHeight = 4995
        mmLeft = 5556
        mmTop = 1058
        mmWidth = 51858
        BandType = 3
        GroupNo = 0
      end
      object ppShape13: TppShape
        UserName = 'Shape13'
        mmHeight = 7408
        mmLeft = 59267
        mmTop = 529
        mmWidth = 16404
        BandType = 3
        GroupNo = 0
      end
      object ppLabel7: TppLabel
        UserName = 'Label7'
        AutoSize = False
        Caption = ' : نام انگليسي'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Name = 'Lotus'
        Font.Size = 10
        Font.Style = [fsBold]
        TextAlignment = taCentered
        mmHeight = 6265
        mmLeft = 59796
        mmTop = 1058
        mmWidth = 15346
        BandType = 3
        GroupNo = 0
      end
      object ppShape11: TppShape
        UserName = 'Shape11'
        mmHeight = 6879
        mmLeft = 5027
        mmTop = 7938
        mmWidth = 71702
        BandType = 3
        GroupNo = 0
      end
      object ppShape7: TppShape
        UserName = 'Shape7'
        mmHeight = 6879
        mmLeft = 76729
        mmTop = 7938
        mmWidth = 81756
        BandType = 3
        GroupNo = 0
      end
      object ppLabel3: TppLabel
        UserName = 'Label3'
        AutoSize = False
        Caption = 'نام'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Name = 'Lotus'
        Font.Size = 10
        Font.Style = []
        TextAlignment = taCentered
        mmHeight = 5821
        mmLeft = 77258
        mmTop = 8467
        mmWidth = 80698
        BandType = 3
        GroupNo = 0
      end
      object ppLabel4: TppLabel
        UserName = 'Label4'
        AutoSize = False
        Caption = 'مسير'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Name = 'Lotus'
        Font.Size = 10
        Font.Style = []
        TextAlignment = taCentered
        mmHeight = 5821
        mmLeft = 5556
        mmTop = 8467
        mmWidth = 70644
        BandType = 3
        GroupNo = 0
      end
    end
    object ppGroupFooterBand1: TppGroupFooterBand
      mmBottomOffset = 0
      mmHeight = 0
      mmPrintPosition = 0
    end
  end
  object daDataModule1: TdaDataModule
    object daBDEQueryDataViewX1: TdaBDEQueryDataViewX
      Report = ppReportX
      UserName = 'Query_ListCdContent'
      Height = 160
      Left = 10
      NameColumnWidth = 105
      SizeColumnWidth = 35
      SortMode = 0
      Top = 10
      TypeColumnWidth = 52
      Width = 334
      AutoSearchTabOrder = 0
      object ListCdContent: TppChildBDEPipeline
        AutoCreateFields = False
        UserName = 'ListCdContent'
        object ppField1: TppField
          FieldAlias = 'name'
          FieldName = 'name'
          FieldLength = 255
          DisplayWidth = 255
          Position = 0
        end
        object ppField2: TppField
          FieldAlias = 'path'
          FieldName = 'path'
          FieldLength = 255
          DisplayWidth = 255
          Position = 1
        end
        object ppField3: TppField
          FieldAlias = 'CdID'
          FieldName = 'CdID'
          FieldLength = 40
          DisplayWidth = 40
          Position = 2
        end
        object ppField4: TppField
          FieldAlias = 'farsi_name'
          FieldName = 'farsi_name'
          FieldLength = 100
          DisplayWidth = 100
          Position = 3
        end
        object ppField5: TppField
          FieldAlias = 'english_name'
          FieldName = 'english_name'
          FieldLength = 100
          DisplayWidth = 100
          Position = 4
        end
      end
      object daSQL1: TdaSQL
        DatabaseName = 'Local'
        DatabaseType = dtMSSQLServer
        DataPipelineName = 'ListCdContent'
        EditSQLAsText = True
        LinkColor = clBlack
        MaxSQLFieldAliasLength = 0
        SQLText.Strings = (
          '/*{ '
          'Name=Txt, Type=String, GetFrom=User, Caption=متن مورد جستجو'
          '}*/'
          ''
          
            'SELECT cc.name ,cc.path,RTrim(ct.pish_num)+Rtrim(Cast(cc.cd_id a' +
            's varchar)) CdID,c.farsi_name,c.english_name'
          
            ' From v_cd_content cc LEFT JOIN v_cd_type ct ON ( cc.cd_type=ct.' +
            'type_id ) LEFT JOIN v_cd c ON (c.cd_id=cc.cd_id AND cc.cd_type=c' +
            '.type_id )'
          'WHERE'
          'cc.name LIKE '#39'%'#39' + :Txt + '#39'%'#39
          ''
          'Order By RTrim(ct.pish_num)+Rtrim(Cast(cc.cd_id as varchar))'
          '')
        SQLType = sqSQL2
        object daField1: TdaField
          Alias = 'name'
          DisplayWidth = 255
          FieldAlias = 'name'
          FieldLength = 255
          FieldName = 'name'
          SQLFieldName = 'name'
        end
        object daField2: TdaField
          Alias = 'path'
          DisplayWidth = 255
          FieldAlias = 'path'
          FieldLength = 255
          FieldName = 'path'
          SQLFieldName = 'path'
        end
        object daField3: TdaField
          Alias = 'CdID'
          DisplayWidth = 40
          FieldAlias = 'CdID'
          FieldLength = 40
          FieldName = 'CdID'
          SQLFieldName = 'CdID'
        end
        object daField4: TdaField
          Alias = 'farsi_name'
          DisplayWidth = 100
          FieldAlias = 'farsi_name'
          FieldLength = 100
          FieldName = 'farsi_name'
          SQLFieldName = 'farsi_name'
        end
        object daField5: TdaField
          Alias = 'english_name'
          DisplayWidth = 100
          FieldAlias = 'english_name'
          FieldLength = 100
          FieldName = 'english_name'
          SQLFieldName = 'english_name'
        end
      end
    end
  end
  object raCodeModule1: TraCodeModule
    ProgramStream = {
      01060F5472614576656E7448616E646C65720B50726F6772616D4E616D65060F
      5661726961626C65314F6E43616C630B50726F6772616D54797065070B747450
      726F63656475726506536F75726365068E70726F636564757265205661726961
      626C65314F6E43616C63287661722056616C75653A2056617269616E74293B0D
      0A626567696E0D0A0D0A20207B4175746F2067656E6572617465206279205769
      7A6172645820284C4942297D0D0A202056616C7565203A3D205265706F72742E
      506172616D732E56616C7565735B27547874275D3B0D0A0D0A656E643B0D0A0D
      436F6D706F6E656E744E616D6506095661726961626C6531094576656E744E61
      6D6506064F6E43616C63074576656E74494402210000}
  end
end
