Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of copies in Report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00087240
Message ID:
00087492
Views:
26
>Does anyone know how could I programatically set the number of copies I want from a report?
>I don't want to use any print dialog for this because depending on the report it will be printed I know in advance if it will be needed two copies of this report, 3 copies of that other, etc.
>Thank you.

There is a simple way to do that:

PRINTJOB
_pcopies = Copies_Number_I_Need
REPORT form myReport.frx TO PRINTER noconsole
ENDPRINTJOB

HTH,
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform