inherited frmCadRelatorioSistema: TfrmCadRelatorioSistema
  Left = 218
  Top = 158
  Caption = 'frmCadRelatorioSistema'
  ClientHeight = 390
  ClientWidth = 620
  OldCreateOrder = True
  ExplicitWidth = 626
  ExplicitHeight = 419
  PixelsPerInch = 96
  TextHeight = 16
  inherited Paginas: TPageControl
    Width = 620
    Height = 352
    ActivePage = Manutencao
    ExplicitWidth = 620
    ExplicitHeight = 352
    inherited Acesso: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 612
      ExplicitHeight = 342
      inherited Panel2: TPanel
        Left = 521
        Height = 305
        ExplicitLeft = 521
        ExplicitHeight = 305
      end
      inherited Panel3: TPanel
        Top = 305
        Width = 612
        ExplicitTop = 305
        ExplicitWidth = 612
      end
      inherited pnGrade: TPanel
        Width = 521
        Height = 305
        ExplicitWidth = 521
        ExplicitHeight = 305
        inherited grdPesquisa: TIB_Grid
          Width = 521
          Height = 289
          ExplicitWidth = 521
          ExplicitHeight = 289
        end
        inherited pnlOpcoesPesquisa: TPanel
          Width = 521
          ExplicitWidth = 521
        end
      end
    end
    inherited Manutencao: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 6
      ExplicitWidth = 612
      ExplicitHeight = 342
      inherited Panel6: TPanel
        Top = 306
        Width = 612
        ExplicitTop = 306
        ExplicitWidth = 612
        inherited Linhabotao: TShape
          Width = 610
          ExplicitWidth = 610
        end
        inherited Panel7: TPanel
          Left = 291
          ExplicitLeft = 291
          inherited BtGravar: TBitBtn
            Top = 3
            Height = 29
            ExplicitTop = 3
            ExplicitHeight = 29
          end
          inherited BtCancelar: TBitBtn
            Top = 3
            Height = 29
            ExplicitTop = 3
            ExplicitHeight = 29
          end
        end
      end
      object edtRelatorio: TIB_LookupCombo
        Left = 8
        Top = 24
        Width = 441
        Height = 21
        Hint = 'Relat'#243'rios do sistema'
        AutoLabel.Caption = 'Relat'#243'rios Criados'
        AutoLabel.Kind = albTop
        AutoLabel.Margin = 0
        DataSource = dsrRelatBanco
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        ParentShowHint = False
        ShowHint = True
        ParentBackground = False
        TabOrder = 1
        DisplayField = 'NAME'
        DropDownWidth = 441
        ShowButton = True
      end
      object edtDescricao: TIB_Edit
        Left = 8
        Top = 67
        Width = 441
        Height = 24
        AutoLabel.Caption = 'Descri'#231#227'o'
        AutoLabel.Kind = albTop
        AutoLabel.Margin = 0
        DataField = 'DESCRICAO'
        DataSource = DsPrincipal
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        ParentBackground = False
        TabOrder = 2
      end
      object IB_CheckBox1: TIB_CheckBox
        Left = 8
        Top = 104
        Width = 177
        Height = 17
        DataField = 'VISUALIZA_IMPRESSAO'
        DataSource = DsPrincipal
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        BorderStyle = bsNone
        ParentBackground = False
        TabOrder = 3
        Caption = 'Visualiza Impress'#227'o'
      end
      object IB_CheckBox2: TIB_CheckBox
        Left = 200
        Top = 104
        Width = 249
        Height = 17
        DataField = 'OPCOES_IMPRESSAO'
        DataSource = DsPrincipal
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        BorderStyle = bsNone
        ParentBackground = False
        TabOrder = 4
        Caption = 'Montra Op'#231#245'es de impress'#227'o'
      end
      object GrupoUsaParamentro: TGroupBox
        Left = 8
        Top = 144
        Width = 489
        Height = 105
        TabOrder = 5
        Visible = False
        object IB_ComboBox1: TIB_ComboBox
          Left = 8
          Top = 32
          Width = 209
          Height = 24
          AutoLabel.Caption = 'Tabela de Pesquisa'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'TABELA_PESQUISA'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 0
          Items.Strings = (
            'CLIENTE')
          ItemValues.Strings = (
            'CLIENTE')
        end
        object IB_ComboBox2: TIB_ComboBox
          Left = 8
          Top = 75
          Width = 209
          Height = 24
          AutoLabel.Caption = 'Tabela de Paramentros'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'CAMPO_PARAMETRO_RELATORIO'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 1
          Items.Strings = (
            'INTEIRO_1'
            'INTEIRO_2'
            'INTEIRO_3'
            'INTEIRO_4'
            'STRING_1'
            'STRING_2'
            'STRING_3'
            'STRING_4'
            'DATA_1'
            'DATA_2'
            'DATA_3'
            'DATA_4'
            'TIME_1'
            'TIME_2'
            'TIME_3'
            'TIME_4')
          ItemValues.Strings = (
            'INTEIRO_1'
            'INTEIRO_2'
            'INTEIRO_3'
            'INTEIRO_4'
            'STRING_1'
            'STRING_2'
            'STRING_3'
            'STRING_4'
            'DATA_1'
            'DATA_2'
            'DATA_3'
            'DATA_4'
            'TIME_1'
            'TIME_2'
            'TIME_3'
            'TIME_4')
        end
        object IB_Edit1: TIB_Edit
          Left = 224
          Top = 32
          Width = 225
          Height = 24
          AutoLabel.Caption = 'Campo de pesquisa da tabela'
          AutoLabel.Kind = albTop
          AutoLabel.Margin = 0
          DataField = 'CAMPO_TABELA_PESQUISA'
          DataSource = DsPrincipal
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Verdana'
          Font.Style = []
          ParentFont = False
          ParentBackground = False
          TabOrder = 2
        end
      end
      object IB_CheckBox3: TIB_CheckBox
        Left = 8
        Top = 136
        Width = 153
        Height = 17
        DataField = 'USA_PARAMETRO'
        DataSource = DsPrincipal
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
        Visible = False
        BorderStyle = bsNone
        ParentBackground = False
        TabOrder = 6
        Caption = 'Usa Parametros'
      end
      object BitBtn2: TBitBtn
        Left = 455
        Top = 22
        Width = 29
        Height = 28
        Glyph.Data = {
          F6060000424DF606000000000000360000002800000018000000180000000100
          180000000000C0060000120B0000120B00000000000000000000FFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2E2
          E2C4C4C4CFCFCFF9F9F9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFDFDFDD2D2D2C4C4C4DEDEDEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FEFEFEAEAEAED4D4D4E3E3E3D6D6D69F9F9FD7D7D7FFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFDDDDDDB6B6B6DDDDDDE3E3E3C6C6C69D9D9DF9F9F9FFFFFFFF
          FFFFFFFFFFFFFFFFB7B7B7FFFFFFFCFCFCF3F3F3FAFAFAFFFFFFB0B0B0DEDEDE
          FFFFFFFFFFFFFFFFFFFFFFFFE1E1E1D6D6D6FFFFFFF7F7F7F4F4F4FFFFFFF7F7
          F79D9D9DFCFCFCFFFFFFFFFFFFC2C2C2FFFFFFEEEEEEE6E6E6E7E7E7E6E6E6EB
          EBEBFFFFFFA1A1A1FDFDFDFFFFFFFFFFFFFFFFFFC6C6C6FFFFFFE7E7E7E7E7E7
          E7E7E7E6E6E6F7F7F7EDEDEDB8B8B8FFFFFFFAFAFAD4D4D4FAFAFAE7E7E7E9E9
          E9E9E9E9E9E9E9E8E8E8F6F6F6E0E0E0CDCDCDFFFFFFFFFFFFCFCFCFFDFDFDED
          EDEDE9E9E9E9E9E9E9E9E9E9E9E9E7E7E7FFFFFFAAAAAAFAFAFACDCDCDFFFFFF
          EDEDEDECECECEEEEEEF1F1F1EDEDEDF1F1F1EEEEEEFFFFFFAAAAAAFFFFFFFFFF
          FFC4C4C4FFFFFFEFEFEFEFEFEFEEEEEEF1F1F1EDEDEDECECECF4F4F4EAEAEAD0
          D0D0C0C0C0FFFFFFEEEEEEF2F2F2EBEBEBCACACAD7D7D7C4C4C4DCDCDCFFFFFF
          B1B1B1FEFEFEFCFCFCDBDBDBFFFFFFD2D2D2D0D0D0CFCFCFC9C9C9F3F3F3F0F0
          F0F0F0F0FEFEFEB1B1B1C9C9C9FFFFFFF3F3F3EDEDED9F9F9FB2B2B2D0D0D0BC
          BCBC8F8F8FE0E0E0D3D3D3F3F3F3E7E7E7FBFBFBC0C0C09D9D9DC9C9C9CBCBCB
          9D9D9DACACACF7F7F7F2F2F2FFFFFFAAAAAAC4C4C4FFFFFFFEFEFEB5B5B55555
          557B7B7B8888888181815D5D5D888888E0E0E0EAEAEAD8D8D8F0F0F06666666D
          6D6D858585868686747474545454D9D9D9FBFBFBFFFFFFA9A9A9BCBCBCFFFFFF
          FFFFFF9696962E2E2E5555555E5E5E4C4C4C202020545454D7D7D7EAEAEAD6D6
          D6D7D7D73B3B3B4848485D5D5D575757383838181818C3C3C3FFFFFFFEFEFEA4
          A4A4B8B8B8FDFDFDFFFFFFADADAD5858586F6F6F7272726969693030305C5C5C
          CBCBCBF2F2F2DEDEDED6D6D66666666A6A6A7171717070705353531D1D1DD1D1
          D1FFFFFFF7F7F7A3A3A3B5B5B5F7F7F7FFFFFFE8E8E88F8F8FB2B2B2BFBFBFBC
          BCBC8E8E8EC6C6C6ABABABFFFFFFF5F5F5CBCBCBACACAC9D9D9DBEBEBEC0C0C0
          A3A3A3999999F9F9F9FFFFFFE7E7E7AEAEAEBBBBBBE6E6E6FFFFFFFFFFFFE2E2
          E2C3C3C3BDBDBDC1C1C1D1D1D1F5F5F5A1A1A1FFFFFFFFFFFFAFAFAFF8F8F8C7
          C7C7C3C3C3C0C0C0C0C0C0F4F4F4FFFFFFFFFFFFC9C9C9CCCCCCE3E3E3B6B6B6
          FCFCFCFFFFFFFFFFFFFFFFFFFAFAFAFFFFFFFFFFFFC0C0C0C3C3C3FFFFFFFFFF
          FFB3B3B3DBDBDBFFFFFFFDFDFDFBFBFBFFFFFFFFFFFFFFFFFFF2F2F29D9D9DF5
          F5F5FFFFFFA3A3A3D1D1D1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDCDCDC949494
          FDFDFDFFFFFFFFFFFFF2F2F2A1A1A1ECECECFFFFFFFFFFFFFFFFFFFFFFFFFEFE
          FEBCBCBCB0B0B0FFFFFFFFFFFFEBEBEB969696C7C7C7F6F6F6FFFFFFFAFAFAD2
          D2D2939393D3D3D3FFFFFFFFFFFFFFFFFFFFFFFFBEBEBEA1A1A1DEDEDEFFFFFF
          FFFFFFF0F0F0BABABA919191FAFAFAFFFFFFFFFFFFFFFFFFDDDDDD9393938E8E
          8E9F9F9F959595888888C4C4C4FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB3
          B3B38C8C8C9797979E9E9E8D8D8D8D8D8DF2F2F2FFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFF9F9F9C3C3C3AAAAAAB3B3B3EAEAEAFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFE8E8E8B3B3B3ABABABC3C3C3FFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
          FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
        TabOrder = 7
        TabStop = False
      end
    end
  end
  inherited Panel1: TPanel
    Width = 620
    ExplicitWidth = 620
    inherited Label2: TLabel
      Width = 238
      Caption = 'Relat'#243'rio Persnonalizado'
      ExplicitWidth = 238
    end
    inherited Shape1: TShape
      Width = 620
      ExplicitWidth = 620
    end
    inherited imgAcao: TImage
      Left = 260
      ExplicitLeft = 260
    end
  end
  inherited TbPrincipal: TIB_Query
    ColumnAttributes.Strings = (
      'USA_PARAMETRO=BOOLEAN=T,F'
      'VISUALIZA_IMPRESSAO=BOOLEAN=T,F'
      'OPCOES_IMPRESSAO=BOOLEAN=T,F')
    FieldsCharCase.Strings = (
      'COD_RELATORIO_SISTEMA=UPPER'
      'DESCRICAO=UPPER'
      'COD_RELATORIO=UPPER'
      'ORDEM=UPPER'
      'NOME=UPPER'
      'USA_PARAMETRO=UPPER'
      'VISUALIZA_IMPRESSAO=UPPER'
      'OPCOES_IMPRESSAO=UPPER'
      'IMPRESSORA_PADRAO=UPPER'
      'TABELA_PESQUISA=UPPER'
      'CAMPO_TABELA_PESQUISA=UPPER'
      'CAMPO_PARAMETRO_RELATORIO=UPPER')
    FieldsVisible.Strings = (
      'COD_RELATORIO_SISTEMA=FALSE'
      'DESCRICAO=TRUE'
      'COD_RELATORIO=FALSE'
      'ORDEM=FALSE'
      'NOME=FALSE'
      'USA_PARAMETRO=FALSE'
      'VISUALIZA_IMPRESSAO=FALSE'
      'OPCOES_IMPRESSAO=FALSE'
      'IMPRESSORA_PADRAO=FALSE'
      'TABELA_PESQUISA=FALSE'
      'CAMPO_TABELA_PESQUISA=FALSE'
      'CAMPO_PARAMETRO_RELATORIO=FALSE')
    SQL.Strings = (
      'SELECT RELATORIO_SISTEMA.*'
      'FROM RELATORIO_SISTEMA')
    DeleteSQL.Strings = (
      'DELETE FROM RELATORIO_SISTEMA'
      'WHERE'
      '   COD_RELATORIO_SISTEMA = :OLD_COD_RELATORIO_SISTEMA')
    EditSQL.Strings = (
      'UPDATE RELATORIO_SISTEMA SET'
      '   COD_RELATORIO_SISTEMA = :COD_RELATORIO_SISTEMA, /*PK*/'
      '   DESCRICAO = :DESCRICAO,'
      '   COD_RELATORIO = :COD_RELATORIO,'
      '   ORDEM = :ORDEM,'
      '   NOME = :NOME,'
      '   USA_PARAMETRO = :USA_PARAMETRO,'
      '   VISUALIZA_IMPRESSAO = :VISUALIZA_IMPRESSAO,'
      '   OPCOES_IMPRESSAO = :OPCOES_IMPRESSAO,'
      '   IMPRESSORA_PADRAO = :IMPRESSORA_PADRAO,'
      '   TABELA_PESQUISA = :TABELA_PESQUISA,'
      '   CAMPO_TABELA_PESQUISA = :CAMPO_TABELA_PESQUISA,'
      '   CAMPO_PARAMETRO_RELATORIO = :CAMPO_PARAMETRO_RELATORIO'
      'WHERE'
      '   COD_RELATORIO_SISTEMA = :OLD_COD_RELATORIO_SISTEMA')
    GeneratorLinks.Strings = (
      'RELATORIO_SISTEMA.COD_RELATORIO_SISTEMA = GEN_RELATORIO_SISTEMA')
    InsertSQL.Strings = (
      'INSERT INTO RELATORIO_SISTEMA('
      '   COD_RELATORIO_SISTEMA, /*PK*/'
      '   DESCRICAO,'
      '   COD_RELATORIO,'
      '   ORDEM,'
      '   NOME,'
      '   USA_PARAMETRO,'
      '   VISUALIZA_IMPRESSAO,'
      '   OPCOES_IMPRESSAO,'
      '   IMPRESSORA_PADRAO,'
      '   TABELA_PESQUISA,'
      '   CAMPO_TABELA_PESQUISA,'
      '   CAMPO_PARAMETRO_RELATORIO)'
      'VALUES ('
      '   :COD_RELATORIO_SISTEMA,'
      '   :DESCRICAO,'
      '   :COD_RELATORIO,'
      '   :ORDEM,'
      '   :NOME,'
      '   :USA_PARAMETRO,'
      '   :VISUALIZA_IMPRESSAO,'
      '   :OPCOES_IMPRESSAO,'
      '   :IMPRESSORA_PADRAO,'
      '   :TABELA_PESQUISA,'
      '   :CAMPO_TABELA_PESQUISA,'
      '   :CAMPO_PARAMETRO_RELATORIO)')
    KeyLinks.Strings = (
      'RELATORIO_SISTEMA.COD_RELATORIO_SISTEMA')
    OrderingItemNo = 1
    OrderingItems.Strings = (
      'DESCRICAO=DESCRICAO;DESCRICAO DESC')
    OrderingLinks.Strings = (
      'DESCRICAO=1')
    SearchingLinks.Strings = (
      'DESCRICAO=DESCRICAO')
  end
  inherited qryPesquisa: TIB_Query
    Left = 253
  end
  inherited ImagensPadrao: TImageList
    Bitmap = {
      [encoded data, 8768 characters]
      000000000000}
  end
  object qrRelatNoBanco: TIB_Query
    FieldsVisible.Strings = (
      'ITEM_ID=FALSE'
      'FOLDER_ID=FALSE'
      'NAME=TRUE'
      'ITEM_SIZE=FALSE'
      'ITEM_TYPE=FALSE'
      'MODIFIED=FALSE'
      'DELETED=FALSE'
      'TEMPLATE=FALSE'
      'EXPORTADO=FALSE')
    IB_Connection = Dados.IB_SysTrans
    SQL.Strings = (
      'SELECT RB_ITEM.*'
      'FROM RB_ITEM')
    KeyLinks.Strings = (
      'RB_ITEM.FOLDER_ID'
      'RB_ITEM.ITEM_TYPE'
      'RB_ITEM.NAME'
      'RB_ITEM.MODIFIED')
    Left = 337
  end
  object dsrRelatBanco: TIB_DataSource
    Dataset = qrRelatNoBanco
    Left = 336
    Top = 28
  end
end
