<report name="vdstopd" lpi="6">
 <description>Stampa tabella operatori</description>
 <font face="Courier New" size="10" />
 <section type="Head">
  <field type="Stringa" width="50">
   <font italic="1" face="Courier New" bold="1" size="10" />
   <source>#SYSTEM.RAGSOC</source>
  </field>
  <field y="1" type="Testo" valign="center" align="center" width="96" height="2" text="Tabella Operatori">
   <font face="Courier New" bold="1" size="14" />
  </field>
  <field border="2" x="1" y="3.5" type="Linea" width="93" height="0" />
  <field x="61.5" y="3.5" type="Testo" width="14" pattern="1" text="Max. scontrino">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="76.5" y="3.5" type="Testo" width="10" pattern="1" text="Permessi">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="1" y="4" type="Testo" width="8" text="Nome">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="9.5" y="4" type="Testo" width="12" text="Nome">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="63.5" y="4.5" type="Testo" width="12" pattern="1" text="     abbuono">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="76.5" y="4.5" type="Testo" width="10" pattern="1" text="Prezzi">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="87.5" y="4.5" type="Testo" width="6" pattern="1" text="Omaggi">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="63.5" y="5.5" type="Testo" width="12" pattern="1" text="      sconto">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="76.5" y="5.5" type="Testo" width="10" pattern="1" text="Sottocosto">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="87.62" y="5.5" type="Testo" width="6" pattern="1" text="Sconti">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="64.5" y="6.5" type="Testo" width="12" pattern="1" text="provvigione">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" x="1" y="7.5" type="Linea" width="93" height="0" />
 </section>
 <section type="Head" level="1" />
 <section type="Body" />
 <section type="Body" level="1">
  <field x="1" type="Stringa" link="OPD.CODTAB" width="8">
   <source>CODTAB</source>
  </field>
  <field x="9.5" type="Stringa" width="55">
   <source>2.USERDESC</source>
  </field>
  <field x="66.5" type="Valuta" align="right" width="9" pattern="1" text="###.###.###,@@">
   <source>R0</source>
  </field>
  <field x="66.5" y="1" type="Valuta" align="right" width="9" pattern="1" text="###.###.###,@@">
   <source>R1</source>
  </field>
  <field x="80.5" y="1" type="Stringa" width="1" pattern="1">
   <source>B0</source>
  </field>
  <field x="89.5" y="1" type="Stringa" width="1" pattern="1">
   <source>B2</source>
  </field>
  <field x="66.5" y="2" type="Valuta" align="right" width="9" pattern="1" text="###.###.###,@@">
   <source>R2</source>
  </field>
  <field x="80.5" y="2" type="Stringa" width="1" pattern="1">
   <source>B1</source>
  </field>
  <field x="89.62" y="2.06" type="Stringa" width="1" pattern="1">
   <source>B3</source>
  </field>
  <field x="66.5" y="3" type="Valuta" align="right" width="9" pattern="1" text="###.###.###,@@">
   <source>R3</source>
  </field>
 </section>
 <section 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 type="Foot" level="1" />
 <sql>USE OPD
JOIN 2 INTO USERNAME==CODTAB
FROM CODTAB=#FROM
TO CODTAB=#TO</sql>
</report>