<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.7.9" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="167935" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="44110,4763150116" ReportOptions.Description.Text="" ReportOptions.LastChange="44112,5763682292" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="tbRelatorio" DataSetName="tbRelatorio"/>
    <item DataSet="qryEntidade" DataSetName="qryEntidade"/>
    <item DataSet="qryEmpresa" DataSetName="qryEmpresa"/>
    <item DataSet="qryContato" DataSetName="qryContato"/>
  </Datasets>
  <Variables>
    <item Name="Empresa" Value="'_001'"/>
    <item Name="Layout" Value="'cliente.fr3'"/>
    <item Name="PastaFotos" Value="'\\172.20.10.208\arquivos\Desenvolvimento\Sisplan\Foto'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDQuery Name="qryEntidade" UserName="qryEntidade" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT ENT.CODCLI&#13;&#10;	   ,ENT.NOME&#13;&#10;       ,ENT.FANTASIA&#13;&#10;       ,ENT.CNPJ&#13;&#10;       ,ENT.INSCRICAO&#13;&#10;       ,ENT.DDD_FONE                         &#13;&#10;       ,ENT.TELEFONE&#13;&#10;       ,ENT.EMAIL&#13;&#10;       ,ENT.CEP&#13;&#10;       ,CIDADE.NOME CIDADE&#13;&#10;       ,CIDADE.COD_UF ESTADO&#13;&#10;       ,ENT.BAIRRO&#13;&#10;       ,ENT.ENDERECO&#13;&#10;       ,ENT.NUMERO&#13;&#10;FROM ENTIDADE_001 ENT&#13;&#10;LEFT JOIN CADCEP_001 CADCEP ON CADCEP.CEP = ENT.CEP&#13;&#10;LEFT JOIN CIDADE CIDADE ON CIDADE.CODIGO = CADCEP.CODMUN &#13;&#10;WHERE ENT.CODCLI = :CODCLI" MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODCLI=CODCLI" Left="180" Top="128">
      <Parameters>
        <item Name="CODCLI" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODCLI&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="D:\Dados\Bases\LOJA_WEB.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=D:\Dados\Bases\LOJA_WEB.FDB&#13;&#10;Server=172.20.10.204&#13;&#10;Port=3050&#13;&#10;user_name=sysdba&#13;&#10;password=masterkey&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=FB" LoginPrompt="False" Connected="false" PropData="05704C65667402200470546F70021C"/>
    <TfrxFDQuery Name="qryEmpresa" UserName="qryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT EMP_FANTASIA, EMP_PAT FROM EMPRESA WHERE EMP_PAT = :EMP_PAT                                                                                                                                                                                                                                                                                                                                                         " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODCLI=CODCLI" Left="264" Top="128">
      <Parameters>
        <item Name="EMP_PAT" DataType="ftString" Expression="&#60;Empresa&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryContato" UserName="qryContato" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT CONT.NUMERO, &#13;&#10;	      CONT.CODCLI, &#13;&#10;       CONT.NOME, &#13;&#10;       CONT.DT_NASC AS DATA_NASC,&#13;&#10;	      CONT.FONE AS TELEFONE, &#13;&#10;       CONT.CELULAR, &#13;&#10;       CONT.EMAIL, &#13;&#10;	      CONT.OBS AS OBSERVACAO, &#13;&#10;       CONT.CPF_CNPJ&#13;&#10;FROM CONTATO_001 CONT&#13;&#10;WHERE CONT.CODCLI = :CODCLI  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="340" Top="132">
      <Parameters>
        <item Name="CODCLI" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODCLI&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" Fill.BackColor="656798" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="86,92919" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="37,7953" Top="37,7953" Width="521,57514" Height="26,45671" Font.Charset="1" Font.Color="16777215" Font.Height="-24" Font.Name="Arial" Font.Style="3" Frame.Typ="0" ParentFont="False" Text="Relatório de Cliente"/>
      <TfrxMemoView Name="Date" IndexTag="1" AllowVectorExport="True" Left="638,74057" Top="22,23624" Width="71,81107" Height="18,89765" Font.Charset="1" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Time]"/>
      <TfrxMemoView Name="Date1" IndexTag="1" AllowVectorExport="True" Left="638,74057" Top="3,77953" Width="71,81107" Height="18,89765" Font.Charset="1" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Date]"/>
      <TfrxMemoView Name="Page" IndexTag="1" AllowVectorExport="True" Left="620,7248" Top="39,91342" Width="90,70872" Height="26,45671" Font.Charset="1" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Pág. [Page#] de [TotalPages#]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="37,7953" Top="16,11812" Width="593,38621" Height="34,01577" Font.Charset="1" Font.Color="16777215" Font.Height="-16" Font.Name="Arial" Font.Style="2" Frame.Typ="0" ParentFont="False" Text="Empresa: [qryEmpresa.&#34;EMP_FANTASIA&#34;]"/>
    </TfrxPageHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" Fill.BackColor="16250871" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="117,16543" Left="0" Top="211,65368" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="qryEntidade" DataSetName="qryEntidade" RowCount="0">
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="18,11812" Top="11,33859" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Cliente:"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="18,11812" Top="31,41577" Width="75,5906" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Fantasia:"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="18,11812" Top="52,49295" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="CNPJ:"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="96,94496" Top="12,55906" Width="593,38621" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;CODCLI&#34;] - [qryEntidade.&#34;NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="96,94496" Top="31,63624" Width="593,38621" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;FANTASIA&#34;]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="96,94496" Top="52,71342" Width="185,19697" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="17,89765" Top="71,26778" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Telefone:"/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="18,89765" Top="91,34496" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="E-mail:"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="96,72449" Top="72,48825" Width="593,38621" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;DDD_FONE&#34;] - [qryEntidade.&#34;TELEFONE&#34;]"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="97,72449" Top="91,56543" Width="593,38621" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;EMAIL&#34;]"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="339,24428" Top="51,91342" Width="79,37013" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Inscrição:"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="419,07112" Top="52,13389" Width="264,5671" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;INSCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="7,55906" Top="0" Width="11,33859" Height="0" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text=""/>
    </TfrxMasterData>
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" Fill.BackColor="16250871" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="94,48825" Left="0" Top="396,85065" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="qryEntidade" DataSetName="qryEntidade" RowCount="0">
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="18,89765" Top="2,33859000000001" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Cep:"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="18,89765" Top="25,49295" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Cidade:"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="97,72449" Top="2,55905999999999" Width="593,38621" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;CEP&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="97,72449" Top="25,71342" Width="185,19697" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;CIDADE&#34;]"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="19,67718" Top="47,26778" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Bairro:"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="4,55906" Top="70,34496" Width="90,70872" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Endereço:"/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="98,50402" Top="48,48825" Width="593,38621" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;BAIRRO&#34;]"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="98,50402" Top="69,56543" Width="272,12616" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;ENDERECO&#34;]"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="337,02381" Top="25,91342" Width="79,37013" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Estado:"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="420,85065" Top="26,13389" Width="207,87415" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;ESTADO&#34;]"/>
      <TfrxMemoView Name="Memo31" AllowVectorExport="True" Left="381,73253" Top="70,94496" Width="34,01577" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Nº:"/>
      <TfrxMemoView Name="Memo32" AllowVectorExport="True" Left="420,20501" Top="71,16543" Width="60,47248" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;NUMERO&#34;]"/>
    </TfrxMasterData>
    <TfrxMasterData Name="MasterData3" FillType="ftBrush" Fill.BackColor="16250871" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="117,16543" Left="0" Top="559,37044" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="qryContato" DataSetName="qryContato" RowCount="0">
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="18,89765" Top="3,33858999999995" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Nome:"/>
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="2,89765" Top="26,49295" Width="90,70872" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="CPF/CNPJ:"/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="97,72449" Top="3,55906000000004" Width="510,23655" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryContato.&#34;NOME&#34;]"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="97,72449" Top="26,71342" Width="272,12616" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryContato.&#34;CPF_CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo37" AllowVectorExport="True" Left="17,67718" Top="47,26778" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Telefone:"/>
      <TfrxMemoView Name="Memo38" AllowVectorExport="True" Left="17,67718" Top="69,34496" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Celular:"/>
      <TfrxMemoView Name="Memo39" AllowVectorExport="True" Left="98,50402" Top="48,48825" Width="272,12616" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryContato.&#34;TELEFONE&#34;]"/>
      <TfrxMemoView Name="Memo40" AllowVectorExport="True" Left="98,50402" Top="69,56543" Width="272,12616" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryContato.&#34;CELULAR&#34;]"/>
      <TfrxMemoView Name="Memo41" AllowVectorExport="True" Left="17,89765" Top="91,3859" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="E-mail:"/>
      <TfrxMemoView Name="Memo42" AllowVectorExport="True" Left="98,72449" Top="92,60637" Width="272,12616" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryContato.&#34;EMAIL&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" Fill.BackColor="-16777216" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="514,01608" Width="718,1107" PrintChildIfInvisible="True">
      <TfrxMemoView Name="Memo43" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Contato"/>
    </TfrxHeader>
    <TfrxHeader Name="Header2" FillType="ftBrush" Fill.BackColor="-16777216" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="351,49629" Width="718,1107">
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="0" Top="-1" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Endereço"/>
    </TfrxHeader>
    <TfrxHeader Name="Header3" FillType="ftBrush" Fill.BackColor="-16777216" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="166,29932" Width="718,1107">
      <TfrxMemoView Name="Memo44" AllowVectorExport="True" Left="0,45671" Top="-0,779529999999994" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Informações"/>
    </TfrxHeader>
  </TfrxReportPage>
</TfrxReport>
