The information in this article applies to:
SUMMARYIn Microsoft Visual FoxPro, there is no direct way to set the number of copies to be printed. However, there are several ways to print multiple copies. One is to print the report in a loop, but this is the slowest way to do it. Another is to use the PROMPT keyword in the REPORT FORM command, but this requires an extra user action, even if it is only hitting the ENTER key. The most efficient way is to modify the .frx file directly to include the proper number of copies. MORE INFORMATIONThe following code modifies a report to print the correct number of copies. To use it, save the code to a new program (named MULTIREPO.PRG, for instance) and call it from the Command window using this syntax: DO MULTIREPO WITH [full path to report table],[number of copies wanted]Example: DO MULTIREPO WITH "C:\MYREPORT.FRX", 2 The next time that report is printed, it prints out the number of copies you specified.
© Microsoft Corporation 2000, All Rights Reserved. Additional query words: REPORTS
Keywords : kbReportWriter kbVFp300 kbVFp300b kbVFp500 kbVFp500a kbVFp600 kbGrpFox kbDSupport |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |