<report libraries="bastvet" name="bastvet" 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 Vettori">
   <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="6" text="Codice">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="10" y="3" type="Testo" width="11" text="Descrizione">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="2" y="4" type="Testo" width="9" text="Indirizzo">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="45" y="4" type="Testo" width="2" text="N.">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="50" y="4" type="Testo" width="6" text="C.A.P.">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="58" y="4" type="Testo" width="9" text="Localita'">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="2" y="5" type="Testo" width="6" text="Comune">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="47" y="5" type="Testo" width="9" text="Provincia">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="59" y="5" type="Testo" width="5" text="Stato">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="2" y="6" type="Testo" width="8" text="Telefono">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="32" y="6" type="Testo" width="3" text="Fax">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="62" y="6" type="Testo" width="5" text="Telex">
   <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 keep_with_next="1" type="Head" level="1" />
 <section keep_with_next="1" type="Body" />
 <section keep_with_next="1" type="Body" level="1" height="5">
  <field x="2" type="Stringa" link="%VET.CODTAB" width="6">
   <font face="Courier New" bold="1" size="10" />
   <source>CODTAB</source>
  </field>
  <field x="10" type="Stringa" width="50">
   <source>S0</source>
  </field>
  <field x="2" y="1" type="Stringa" width="35">
   <source>S1[1,35]</source>
  </field>
  <field x="37" y="1" type="Stringa" width="10">
   <source>S1[36,45]</source>
  </field>
  <field x="51" y="1" type="Stringa" width="5">
   <source>S7</source>
  </field>
  <field x="58" y="1" type="Stringa" width="35">
   <source>S1[46,70]</source>
  </field>
  <field x="2" y="2" type="Stringa" width="50">
   <source>COMUNI.DENCOM</source>
  </field>
  <field x="54" y="2" type="Stringa" width="2">
   <source>COMUNI.PROVCOM</source>
  </field>
  <field x="59" y="2" type="Stringa" width="25">
   <source>200@.S0</source>
  </field>
  <field x="2" y="3" type="Stringa" width="10">
   <source>S5[1,10]</source>
  </field>
  <field x="12" y="3" type="Stringa" width="20">
   <source>S3</source>
  </field>
  <field x="32" y="3" type="Stringa" width="10">
   <source>S5[11,20]</source>
  </field>
  <field x="42" y="3" type="Stringa" width="20">
   <source>S4</source>
  </field>
  <field x="72" y="3" type="Stringa" width="20">
   <source>S2[11,30]</source>
  </field>
  <field border="1" x="1" y="4.5" type="Linea" width="93" height="0" />
  <field x="62" y="3" type="Stringa" width="10">
   <source>S2[1,10]</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 %VET
JOIN COMUNI INTO COM==S9
JOIN %STA ALIAS 200 INTO CODTAB==S8
FROM CODTAB=#FROM
TO CODTAB=#TO
</sql>
</report>