<report name="vesttri" lpi="6">
 <font face="Courier New" size="10" />
 <section keep_with_next="1" type="Head">
  <field type="Testo" valign="center" align="center" width="96" height="2" text="Tabella Tipi Riga">
   <font face="Courier New" bold="1" size="14" />
  </field>
  <field border="2" x="1" y="2.5" type="Linea" width="93" height="0" />
  <field x="2" y="3" type="Testo" width="10" text="Codice">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="12" y="3" type="Testo" width="12" text="Descrizione">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="64" y="3" type="Testo" width="9" text="Tipo Riga">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" 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 x="2" type="Stringa" link="%TRI.CODTAB" width="8">
   <source>CODTAB[1,8]</source>
  </field>
  <field x="12" type="Stringa" width="50">
   <source>S0</source>
  </field>
  <field x="64" type="Array" width="12">
   <source>S7</source>
   <list>
    <li Value="Merce" Code="M" />
    <li Value="Spese" Code="S" />
    <li Value="Sconti" Code="C" />
    <li Value="Descrizioni" Code="D" />
    <li Value="Omaggi" Code="O" />
    <li Value="Prestazioni" Code="P" />
   </list>
  </field>
 </section>
 <section keep_with_next="1" 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 keep_with_next="1" type="Foot" level="1" />
 <sql>
   USE %TRI
   FROM CODTAB=#FROM
   TO CODTAB=#TO
 </sql>
</report>