<report libraries="bastban" name="bastban" 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 Banche">
   <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="3" text="ABI">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="8" y="3" type="Testo" width="3" text="CAB">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="14" y="3" type="Testo" width="12" text="Istituto">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="83" y="3" type="Testo" width="10" text="Dipendenza">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="14" y="4" type="Testo" width="9" text="Indirizzo">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" x="1" y="6.5" type="Linea" width="93" height="0" />
  <field x="14" y="5" type="Testo" width="6" text="CAP">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="23" y="5" type="Testo" width="6" text="Comune">
   <font face="Courier New" bold="1" size="10" />
  </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="%BAN.CODTAB[1,5]" width="5">
   <source>CODTAB[1,5]</source>
  </field>
  <field x="8" type="Stringa" link="%BAN.CODTAB[6,10]" width="5">
   <source>CODTAB[6,10]</source>
  </field>
  <field x="14" type="Stringa" width="70">
   <source>S0</source>
  </field>
  <field x="86" type="Numero" align="right" width="7">
   <source>I0</source>
  </field>
  <field x="14" y="1" type="Stringa" width="70" id="101">
   <prescript description="B1.101 PRESCRIPT">"S7" @
EMPTY=
IF
  "S2" @
ELSE
  "S2" @
  ", "
  +
  "S7" @
  +
THEN
#THIS !</prescript>
  </field>
  <field x="14" y="2" type="Stringa" width="5">
   <source>S3</source>
  </field>
  <field x="23" y="2" type="Stringa" width="50">
   <source>COMUNI.DENCOM</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 %BAN
JOIN COMUNI INTO COM==S5
FROM CODTAB=#FROM
TO CODTAB=#TO
</sql>
</report>