Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print 2 copies
Message
De
04/11/1998 11:06:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/11/1998 10:34:03
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00154278
Message ID:
00154354
Vues:
18
Yeah you're right Nancy :) I always use SQL as recordsource for reports, so at least for myself, side effects are less :) I haven't tested if _pcopies still work in VFP.
Cetin
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform