<?xml version="1.0" encoding="UTF-8" ?> <report name="co1900b" lpi="6"> <description>Stampa progressivi soci formato B</description> <font face="Courier New" size="10" /> <section type="Head"> <field x="132.62" y="-0.94" type="Testo" valign="bottom" width="6" pattern="1" text="Data" /> <field x="138.62" y="-0.94" type="Data" valign="bottom" align="right" width="12" pattern="1"> <source>#SYSTEM.DATE</source> </field> <field x="156.62" y="-0.94" type="Testo" valign="bottom" width="5" pattern="1" text="Pag." /> <field x="164.62" y="-0.94" type="Numero" valign="bottom" align="right" width="4" pattern="1"> <source>#REPORT.PAGE</source> </field> <field type="Testo" width="10" pattern="1" text="Ditta" /> <field x="6" type="Stringa" width="60" pattern="1"> <source>#SYSTEM.RAGSOC</source> </field> <field x="52.5" type="Testo" valign="bottom" width="6" pattern="1" text="Data" /> <field x="58" type="Data" valign="bottom" align="right" width="12" pattern="1"> <source>#SYSTEM.DATE</source> </field> <field x="70.5" type="Testo" valign="bottom" width="5" pattern="1" text="Pag." /> <field x="76" type="Numero" valign="bottom" align="right" width="4" pattern="1"> <source>#REPORT.PAGE</source> </field> <field x="14" y="1.5" type="Testo" valign="bottom" width="42" height="2" pattern="1" text="STAMPA PROGRESSIVI SOCI ANNO"> <font face="Courier New" bold="1" size="14" /> <source>" " + #ANNO</source> </field> <field x="57" y="1.5" type="Numero" valign="center" align="right" width="8" height="2" pattern="1"> <font face="Courier New" bold="1" size="14" /> <source>#ANNO</source> </field> <field border="2" y="4.5" type="Linea" width="80" height="0" pattern="1" /> </section> <section type="Head" level="1" /> <section type="Head" level="2" page_break="1"> <groupby>CODTAB[1,6]</groupby> <prescript description="H2 PRESCRIPT">0 #F2.113 !</prescript> <field x="1" y="1" type="Testo" width="6" pattern="1" text="Socio"> <font face="Courier New" bold="1" size="10" /> </field> <field x="7" y="1" type="Numero" align="right" width="6" pattern="1"> <font face="Courier New" bold="1" size="10" /> <source>CODTAB[1,6]</source> </field> <field x="14.5" y="1" type="Stringa" width="50" pattern="1"> <font face="Courier New" bold="1" size="10" /> <source>CLIFO.RAGSOC</source> </field> </section> <section type="Body" /> <section type="Body" level="1" hidden="1"> <field type="Array" width="10" pattern="1"> <source>CODTAB[11,12]</source> <list> <li Value="Gen." Code="01">"R0" @ #F2.101 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Feb." Code="02">"R0" @ #F2.102 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Mar." Code="03">"R0" @ #F2.103 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Apr." Code="04">"R0" @ #F2.104 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Mag." Code="05">"R0" @ #F2.105 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Giu." Code="06">"R0" @ #F2.106 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Lug." Code="07">"R0" @ #F2.107 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Ago." Code="08">"R0" @ #F2.108 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Set." Code="09">"R0" @ #F2.109 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Ott." Code="10">"R0" @ #F2.110 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Nov." Code="11">"R0" @ #F2.111 ! "R0" @ #F2.113 @ + #F2.113 !</li> <li Value="Dic." Code="12">"R0" @ #F2.112 ! "R0" @ #F2.113 @ + #F2.113 !</li> </list> </field> <field x="40" type="Valuta" align="right" width="10" pattern="1" text="#########,@@"> <source>R0</source> </field> </section> <section type="Foot" /> <section type="Foot" level="1" /> <section type="Foot" level="2"> <field x="3" type="Testo" width="5" pattern="1" text="Gen." /> <field x="20" type="Testo" width="5" pattern="1" text="Feb." /> <field x="37" type="Testo" width="5" pattern="1" text="Mar." /> <field x="54" type="Testo" width="5" pattern="1" text="Apr." /> <field x="3" y="1" type="Testo" width="5" pattern="1" text="Mag." /> <field x="20" y="1" type="Testo" width="5" pattern="1" text="Giu." /> <field x="37" y="1" type="Testo" width="5" pattern="1" text="Lug." /> <field x="54" y="1" type="Testo" width="5" pattern="1" text="Ago." /> <field x="3" y="2" type="Testo" width="5" pattern="1" text="Set." /> <field x="20" y="2" type="Testo" width="5" pattern="1" text="Ott." /> <field x="37" y="2" type="Testo" width="5" pattern="1" text="Nov." /> <field x="54" y="2" type="Testo" width="5" pattern="1" text="Dic." /> <field x="1" y="3" type="Testo" width="6" pattern="1" text="Totale" /> <field x="8" type="Valuta" align="right" width="10" id="101" pattern="1" text="###.###.###,@@" /> <field x="25" type="Valuta" align="right" width="10" id="102" pattern="1" text="###.###.###,@@" /> <field x="42" type="Valuta" align="right" width="10" id="103" pattern="1" text="###.###.###,@@" /> <field x="59" type="Valuta" align="right" width="10" id="104" pattern="1" text="###.###.###,@@" /> <field x="8" y="1" type="Valuta" align="right" width="10" id="105" pattern="1" text="###.###.###,@@" /> <field x="25" y="1" type="Valuta" align="right" width="10" id="106" pattern="1" text="###.###.###,@@" /> <field x="42" y="1" type="Valuta" align="right" width="10" id="107" pattern="1" text="###.###.###,@@" /> <field x="59" y="1" type="Valuta" align="right" width="10" id="108" pattern="1" text="###.###.###,@@" /> <field x="8" y="2" type="Valuta" align="right" width="10" id="109" pattern="1" text="###.###.###,@@" /> <field x="25" y="2" type="Valuta" align="right" width="10" id="110" pattern="1" text="###.###.###,@@" /> <field x="42" y="2" type="Valuta" align="right" width="10" id="111" pattern="1" text="###.###.###,@@" /> <field x="59" y="2" type="Valuta" align="right" width="10" id="112" pattern="1" text="###.###.###,@@" /> <field x="8" y="3" type="Valuta" align="right" width="10" id="113" pattern="1" text="###.###.###,@@" /> </section> <sql>USE PSC SELECT (CODTAB[7,10] =#ANNO)(CODTAB[11,12]C;=#MESE)(CODTAB[1,6]E;=#DASOCIO)((CODTAB[1,6]C;=#ASOCIO)||(#ASOCIO=0)) JOIN CLIFO INTO TIPOCF=="F" CODCF=CODTAB[1,6] </sql> </report>