Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tray selection
Message
From
07/12/2004 09:54:04
 
 
To
07/12/2004 09:35:12
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00967459
Message ID:
00967484
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform