<?xml version="1.0" encoding="UTF-8" ?> <report name="lv0500d" lpi="6"> <description>Stampa Periodi di Sospensione</description> <font face="Courier New" size="10" /> <section type="Head" height="6"> <field x="1" y="0.37" type="Testo" width="12" height="1.5" pattern="1" text="Data elab. :" /> <field x="13.5" y="0.37" type="Stringa" width="12" height="1.5" pattern="1"> <prescript>MESSAGE _TODAY</prescript> </field> <field x="26" y="0.37" type="Testo" align="center" width="45" height="1.5" pattern="1" text="Stampa periodi di sospensione"> <font face="Courier New" bold="1" size="12" /> </field> <field x="74.87" y="0.49" type="Testo" width="5" height="1.5" pattern="1" text="Pag." /> <field x="80.5" y="0.49" type="Stringa" width="10" height="1.5" pattern="1"> <prescript>MESSAGE _PAGENO</prescript> </field> <field x="0.13" y="3.62" type="Testo" align="center" width="20" pattern="1" text="Cliente" /> <field x="20" y="3.62" type="Testo" align="right" width="10" pattern="1" text="Contratto" /> <field x="30.5" y="3.62" type="Testo" width="10" pattern="1" text="Inizio" /> <field x="41" y="3.62" type="Testo" width="20.5" pattern="1" text="Tipo Sospensione" /> <field x="60.5" y="3.62" type="Testo" width="6" pattern="1" text="Fatt.?" /> <field x="61.5" y="3.62" type="Testo" align="right" width="18" pattern="1" text="Importo" /> <field border="1" y="3.68" type="Linea" width="93" height="0" pattern="1" /> <field x="79.5" y="3.68" type="Testo" align="center" width="17" height="2" pattern="1" text="Note" /> <field x="30.5" y="4.43" type="Testo" width="10" pattern="1" text="Fine" /> <field x="61.5" y="4.43" type="Testo" align="right" width="18" pattern="1" text="Percentuale" /> <field border="1" x="0.13" y="5.37" type="Linea" width="93" height="0" pattern="1" /> </section> <section type="Head" level="1" /> <section type="Body" /> <section type="Body" level="1"> <field type="Numero" align="right" width="6" pattern="1"> <source>165.CODCF</source> </field> <field x="6.5" type="Stringa" width="17" height="3" pattern="1"> <source>300@.RAGSOC</source> </field> <field x="23.5" type="Numero" align="right" width="6" pattern="1"> <source>165.CODCONT</source> </field> <field x="30" type="Data" width="10" pattern="1"> <source>165.DATAINI</source> </field> <field x="40.5" type="Stringa" width="3" pattern="1"> <source>165.TPSOSP</source> </field> <field x="43.5" type="Stringa" width="17" height="3" pattern="1"> <source>301@.S0</source> </field> <field x="60.5" type="Stringa" width="1" pattern="1"> <source>165.FLFATT</source> </field> <field x="61.5" type="Numero" align="right" width="18" pattern="1"> <source>165.IMPFATT</source> </field> <field x="79.5" type="Stringa" width="17" height="3" pattern="1"> <source>165.NOTE</source> </field> <field x="30" y="1.25" type="Data" width="10" pattern="1"> <source>165.DATAFIN</source> </field> <field x="74.5" y="1.25" type="Numero" align="right" width="5" pattern="1"> <source>165.PERCFATT</source> </field> </section> <section type="Foot" /> <section type="Foot" level="1" /> <sql>USE 165 KEY 1 SELECT BETWEEN(CODCONT,#FROM_CODCONT,#TO_CODCONT) JOIN 20 TO 165 ALIAS 300 INTO TIPOCF=="C" CODCF==CODCF JOIN TSP TO 165 ALIAS 301 INTO CODTAB==TPSOSP FROM CODCF=#FROM_CODCF TO CODCF=#TO_CODCF </sql> </report>