Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print 2 copies
Message
De
04/11/1998 10:34:03
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
04/11/1998 06:46:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00154278
Message ID:
00154336
Vues:
18
Hi, Cetin-

Would an interesting side effect of 1) occur in a multi user app, if someone else wants to print just one copy? Perhaps, a somewhat safer way would be to copy the frx to a new frx, change the copies, and print.

An interesting side effect of 2) (also in a multi-use app) could be that the two report copies wouldn't match...

< I'm not *purposely* trying to be annoying this morning ;-) >

>Two quick ways.
>1) Use frx as table and set copies = 2.
use myreport.frx
>replace expr with strtran(expr,"COPIES=1","COPIES=2")
>use
>report form myreport to printer noconsole
>use myreport.frx
>replace expr with strtran(expr,"COPIES=2","COPIES=1")
>use
2) Run report 2 times :
report form myreport to printer noconsole nowait
>report form myreport to printer noconsole nowait
Cetin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform