<report name="costcmp" lpi="6">
 <font face="Courier New" size="10" />
 <section type="Head">
  <field type="Stringa" width="50">
   <font italic="1" face="Courier New" bold="1" size="10" />
   <source>#SYSTEM.RAGSOC</source>
  </field>
  <field y="1" type="Testo" valign="center" align="center" width="96" height="2" text="Tabella Compagnie">
   <font face="Courier New" bold="1" size="14" />
  </field>
  <field border="2" x="1" y="3.5" type="Linea" width="93" height="0" />
  <field x="2" y="4" type="Testo" width="6" text="Codice">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="11" y="4" type="Testo" width="12" text="Descrizione">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" x="1" y="7.5" type="Linea" width="93" height="0" />
 </section>
 <section type="Head" level="1" />
 <section type="Body" />
 <section type="Body" level="1">
  <field x="2" type="Stringa" link="SPP.CODTAB[1,8]" width="8">
   <source>CODTAB</source>
  </field>
  <field x="11" type="Stringa" width="50">
   <source>S0</source>
  </field>
 </section>
 <section type="Foot" height="3">
  <field border="2" x="1" y="0.5" type="Linea" width="93" height="0" />
  <field x="2" y="1" type="Data" width="10">
   <source>#SYSTEM.DATE</source>
  </field>
  <field x="90" y="1" type="Numero" align="right" width="3">
   <source>#PAGE</source>
  </field>
  <field border="2" x="1" y="2.5" type="Linea" width="93" height="0" />
 </section>
 <section type="Foot" level="1" />
 <sql>USE %CMP
FROM #F_INIZIO1
TO #F_FINE1</sql>
</report>