Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tray selection
Message
De
07/12/2004 09:54:04
Marcel Roy
South West Direct
Floride, États-Unis
 
 
À
07/12/2004 09:35:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00967459
Message ID:
00967484
Vues:
7
>there are many ways, but I prefer to set up more 'virtual printer', each virtual >printer with a different setup. Then before the report I issue SET PRINTER TO NAME >myPrinterTray1.

Thank TORE
Yes but everything get print to the same tray,
What I try to do is inside the report writer.

that example does not work but this is the way I will like to do it.
Exp: IIF(mytable.tray=3,BinSelect(3),BinSelect(4))

Procedure BinSelect
PARAMETERS pTrayNumber
LOCAL lcTRay
do case
case pTrayNumber = 1
lcTRay = '&l251H'

case pTrayNumber = 2
lcTRay = '&l252H'

case pTrayNumber = 3
lcTRay = '&l253H'

case pTrayNumber = 4
lcTRay = '&l254H'
endcase
return lcTRay
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform