Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Writer Question
Message
De
06/09/1999 19:13:30
 
 
À
06/09/1999 16:52:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00261790
Message ID:
00261812
Vues:
17
>Hello everybody-
>
>I have a report that prints 2 copies of an invoice. How can I best have the report writer print a label saying "Duplicate" on only the second copy?
>
>TIA,
>Scott

FOR counter = 1 to 2
REPORT FORM myinvoice NOCONSOLE TO PRINTER
ENDFOR

This will print the report twice without user intervention.

1)On the REPORT you have a field in the header and in the "Expression" field you type

IIF(counter = 1,"Original","Duplicate")

Or

2)Just type in "Duplicate" in the "Expression" field and click the "PrintWhen" button. In the "Print only when expr is true" field type counter = 2


So now you can (1) Have Original/Duplicate

or (2) Only duplicate on the second copy.


Bernard
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform