<?xml version="1.0" encoding="UTF-8" ?> <report name="tp0900el" lpi="6"> <description>Lista clienti con esenzioni CONAI</description> <font face="Courier New" size="10" /> <section type="Head"> <field border="1" x="1" y="0.5" type="Linea" width="90" height="0" pattern="1" /> <field x="2" y="1" type="Testo" width="7" pattern="1" text="Codice"> <font face="Courier New" bold="1" size="10" /> </field> <field x="10" y="1" type="Testo" width="16" pattern="1" text="Ragione sociale"> <font face="Courier New" bold="1" size="10" /> </field> <field x="61" y="1" type="Testo" width="7" pattern="1" text="% esen."> <font face="Courier New" bold="1" size="10" /> </field> <field x="70" y="1" type="Testo" width="10" pattern="1" text="Fine esen."> <font face="Courier New" bold="1" size="10" /> </field> <field border="2" x="1" y="2.5" type="Linea" width="90" height="0" pattern="1" /> </section> <section type="Head" level="1"> <field border="2" radius="100" x="6.5" type="Rettangolo" width="80" height="3" pattern="1" /> <field x="9.5" y="0.5" type="Testo" align="center" width="55" height="2" pattern="1" text="LISTA CLIENTI CON ESENZIONI CONAI"> <font face="Arial" bold="1" size="16" /> </field> <field x="65.5" y="0.5" type="Array" width="16" height="2" pattern="1"> <font face="Arial" bold="1" size="16" /> <source>MID(#SPECIECONAI,3,3)</source> <list> <li Value="ACCIAIO" Code="ACC" /> <li Value="ALLUMINIO" Code="ALL" /> <li Value="CARTA" Code="CAR" /> <li Value="PLASTICA" Code="PLA" /> <li Value="LEGNO" Code="LEG" /> <li Value="VETRO" Code="VET" /> </list> </field> <field x="34" y="4" type="Testo" width="12" pattern="1" text="Data stampa:"> <font face="Arial" bold="1" size="10" /> </field> <field x="46.5" y="4" type="Data" width="10" pattern="1"> <font face="Arial" bold="1" size="10" /> <source>#SYSTEM.DATE</source> </field> </section> <section type="Body" /> <section type="Body" level="1" hidden="1"> <field x="0.5" type="Numero" align="right" width="7" pattern="1"> <source>CODCF</source> </field> <field x="10" type="Stringa" width="50" pattern="1"> <source>RAGSOC</source> </field> <field x="70" type="Data" width="10" pattern="1"> <source>17.DATAECONAI</source> </field> <field x="81" type="Stringa" hidden="1" width="10" id="103" pattern="1"> <source>#SPECIECONAI</source> </field> <field x="61" type="Numero" align="right" width="7" id="104" pattern="1" text="##@,@@"> <prescript description="B1.104 PRESCRIPT">"CFVEN." #103 @ + @ DUP #THIS ! 0 E; IF "B1" SHOW ELSE "B1" HIDE THEN </prescript> </field> </section> <section type="Foot" height="2"> <field border="2" x="1" y="0.5" type="Linea" width="90" height="0" pattern="1" /> <field x="77" y="0.75" type="Testo" width="5" pattern="1" text="Pag."> <font face="Courier New" bold="1" size="10" /> </field> <field x="82" y="0.75" type="Numero" align="right" width="3" pattern="1"> <font face="Courier New" bold="1" size="10" /> <source>#REPORT.PAGE</source> </field> </section> <section type="Foot" level="1" /> <sql>USE CLIFO SELECT (CFVEN.ADDCONAI="X")(#SPECIECONAI!="") JOIN CFVEN INTO TIPOCF=TIPOCF CODCF=CODCF FROM TIPOCF='C' TO TIPOCF='C'</sql> </report>