<report libraries="cgstesc" name="cgstesc" lpi="6">
 <font face="Courier New" size="10" />
 <section keep_with_next="1" type="Head">
  <field y="1" type="Testo" valign="center" align="center" width="96" height="2" text="Tabella Esercizi">
   <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="4" text="Anno">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="10" y="4" type="Testo" width="11" text="Data inizio">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="30" y="4" type="Testo" width="9" text="Data fine">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" x="1" y="5.5" type="Linea" width="93" height="0" />
  <field type="Stringa" width="50">
   <font italic="1" face="Courier New" bold="1" size="10" />
   <source>#SYSTEM.RAGSOC</source>
  </field>
 </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="ESC.CODTAB" width="4">
   <source>CODTAB</source>
  </field>
  <field x="10" type="Data" width="10">
   <source>D0</source>
  </field>
  <field x="30" type="Data" width="10">
   <source>D1</source>
  </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 ESC
 FROM CODTAB=#FROM
 TO CODTAB=#TO</sql>
</report>