>Is there any way to set the number of copies of a report without using REPORT FORM XXX TO PRINT PROMPT ? The number of copies will be different each time, so I'll need to do it realtime.
>
>Thanks!
Marvin, you can place the "Number of Copies spinner on your form, use _PCOPIES system variable to set the number of copies from the spinner value, and wrap the REPORT FORM...
into PRINTJOB... ENDPRINTJOB and reset _PCOPIES = 1 after that.
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