Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRINTJOB command
Message
 
 
To
22/08/2000 11:54:01
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00407788
Message ID:
00407813
Views:
22
>I have never used the PRINTJOB - ENDPRINTJOB commands. I need to print multiple copies of the same report. According to MS doing REPORT FORM in a loop will cause GPF. If I use PRINTJOB and set the system variable _PCOPIES to 5, this will cause a loop. Does anyone know if this loop will cause the GPF?

What I do is copy the report FRX and FRT to a temp directory, open the FRX as a table. In the first record repl the EXPR field:

repl expr with strtran(expr, "COPIES=1", "COPIES=x")

Then close the table and run the report.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform