<?xml version="1.0" encoding="UTF-8" ?> <report name="lvstcau" lpi="6" command="lv0 -1 lvstcau"> <description>Stampa Causali Lavanderie</description> <font face="Courier New" size="10" /> <section type="Head"> <field x="27" y="0.75" type="Testo" align="center" width="40" height="2" pattern="1" text="Stampa Causali Lavanderie"> <font face="Courier New" bold="1" size="14" /> </field> <field x="1" y="0.93" type="Testo" width="12" height="1.5" pattern="1" text="Data elab. :" /> <field x="13.5" y="0.93" type="Stringa" width="12" height="1.5" pattern="1"> <prescript>MESSAGE _TODAY</prescript> </field> <field x="72.87" y="0.93" type="Testo" width="5" height="1.5" pattern="1" text="Pag." /> <field x="78" y="0.93" type="Stringa" width="10" height="1.5" pattern="1"> <prescript>MESSAGE _PAGENO</prescript> </field> <field border="2" y="3" type="Linea" width="90" height="0" pattern="1" /> <field x="1" y="4" type="Testo" width="8" pattern="1" text="Causale"> <font face="Courier New" bold="1" size="10" /> </field> <field x="10" y="4" type="Testo" width="35" pattern="1" text="Descrizione Causale Lavanderie"> <font face="Courier New" bold="1" size="10" /> </field> <field x="60" y="4" type="Testo" width="7" pattern="1" text="Ritiro"> <font face="Courier New" bold="1" size="10" /> </field> <field x="67" y="4" type="Testo" width="8" pattern="1" text="Consegna"> <font face="Courier New" bold="1" size="10" /> </field> <field x="77" y="4" type="Testo" width="5" pattern="1" text="Reso"> <font face="Courier New" bold="1" size="10" /> </field> <field x="10" y="5" type="Testo" width="50" pattern="1" text="Causale Magazzino (RitiroF;Consegna) - Descrizione"> <font face="Courier New" bold="1" size="10" /> </field> <field border="2" y="6" type="Linea" width="90" height="0" pattern="1" /> </section> <section type="Head" level="1" /> <section type="Body" /> <section type="Body" level="1"> <field x="1" y="1" type="Stringa" width="6" pattern="1"> <source>CODTAB</source> </field> <field x="10" y="1" type="Stringa" width="50" pattern="1"> <source>S0</source> </field> <field x="62.5" y="1" type="Stringa" width="2" pattern="1"> <source>B0</source> </field> <field x="70" y="1" type="Stringa" width="2" pattern="1"> <source>B1</source> </field> <field x="78" y="1" type="Stringa" width="2" pattern="1"> <source>B2</source> </field> </section> <section type="Body" level="2"> <condition>(TRIM(163.S1) != '')</condition> <field x="10" type="Testo" width="6" pattern="1" text="Rit.:"> <font italic="1" face="Courier New" size="10" /> </field> <field x="17" type="Stringa" width="6" pattern="1"> <source>S1</source> </field> <field x="24" type="Stringa" width="50" pattern="1"> <source>1000@.S0</source> </field> </section> <section type="Body" level="3"> <condition>(TRIM(163.S2) != '')</condition> <field x="10" type="Testo" width="6" pattern="1" text="Cons.:"> <font italic="1" face="Courier New" size="10" /> </field> <field x="17" type="Stringa" width="6" pattern="1"> <source>S2</source> </field> <field x="24" type="Stringa" width="50" pattern="1"> <source>2000@.S0</source> </field> </section> <section type="Foot" /> <section type="Foot" level="1" /> <sql>USE CAU JOIN %CAU TO CAU ALIAS 1000 INTO COD==COD CODTAB==S1 JOIN %CAU TO CAU ALIAS 2000 INTO COD==COD CODTAB==S2 FROM CODTAB=#FROM TO CODTAB=#TO</sql> </report>