<report name="ba63eg" lpi="6">
 <font face="Courier New" size="10" />
 <section keep_with_next="1" type="Head">
  <field type="Testo" align="center" width="96" text="ELENCO PERSONE GIURIDICHE">
   <font face="Courier New" bold="1" size="14" />
  </field>
  <field type="Testo" width="4" text="Data">
   <font italic="1" face="Courier New" bold="1" size="10" />
  </field>
  <field x="5" type="Data" width="10">
   <source>#SYSTEM.DATE</source>
  </field>
  <field x="86" type="Testo" width="4" text="Pag.">
   <font italic="1" face="Courier New" bold="1" size="10" />
  </field>
  <field x="90" type="Numero" align="right" width="5">
   <source>#PAGE</source>
  </field>
  <field border="1" x="1" y="1.5" type="Linea" width="93" height="0" />
  <field x="1" y="2" type="Testo" width="5" height="2" text="Cod. 
Anag.">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="57" y="2" type="Testo" width="6" height="2" text="Codice Ditta">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="7" y="3" type="Testo" width="14" text="Cognome e Nome">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="64" y="3" type="Testo" width="21" text="Denominazione Sociale">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="1" x="1" y="4.5" type="Linea" width="93" height="0" />
 </section>
 <section keep_with_next="1" type="Head" level="1" />
 <section keep_with_next="1" type="Body" />
 <section keep_with_next="1" type="Body" level="1">
  <field type="Stringa" hidden="1" link="ANAGR.TIPOA" width="1">
   <source>TIPOA</source>
  </field>
  <field x="1" type="Numero" align="right" link="ANAGR.CODANAGR" width="5">
   <source>CODANAGR</source>
  </field>
  <field x="7" type="Stringa" width="50">
   <source>ANAGR.RAGSOC</source>
  </field>
  <field x="58" type="Numero" align="right" link="NDITTE.CODDITTA" width="5" hide_zero="1">
   <source>NDITTE.CODDITTA</source>
  </field>
  <field x="64" type="Stringa" dynamic_height="1" width="30" height="2">
   <source>NDITTE.RAGSOC</source>
  </field>
 </section>
 <section keep_with_next="1" type="Foot" />
 <section keep_with_next="1" type="Foot" level="1" />
 <sql>USE ANAGIU
JOIN ANAGR INTO TIPOA=='G' CODANAGR==CODANAGR
JOIN NDITTE KEY 4 INTO TIPOA=='G' CODANAGR==CODANAGR
</sql>
</report>