ID: Q98690
The information in this article applies to:
The SET CONSOLE OFF command suppresses output in a program only and has no effect if issued from the command line. The default for SET CONSOLE is ON.
To suppress the output of a report to the screen while it is being sent to the printer, when a report is created in the report generator, you must print the report from a program, as follows:
USE <database name>
SET CONSOLE OFF
REPORT FORM <report form name> TO PRINT
SET CONSOLE ON
WAIT "Finished Printing"
NOTE: The Help file in the FoxPro 2.0 June 3 release does document this
correctly. Also, in FoxPro 1.02, new commands were added to suppress report
output to the screen. Report output can now be suppressed by using the
following code:
REPORT FORM <report form name> NOCONSOLE TO PRINT
***(This works for FoxPro 2.0 and 2.5)
-or-
REPORT FORM <report form name> OFF TO PRINT
***(This works for FoxPro 1.02 and 2.0)
Additional reference words: FoxDos FoxWin foxbase form 2.00 2.50 1.02 2.10
2.50a RWriter
KBCategory: kbprg
KBSubcategory: FxtoolRwriter
Last Reviewed: June 27, 1995