Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SET CONSOLE Command

Enables or disables output to the main Visual FoxPro window or to the active user-defined window from within programs.


SET CONSOLE ON | OFF

Parameters

ON

Sends all output to the main Visual FoxPro window or to the active user-defined window. (Default)

OFF

Suppresses output to the main Visual FoxPro window or to the active user-defined window.

SET CONSOLE is set to ON when you are using Visual FoxPro interactively, and it cannot be changed to OFF from the Command window. You can change the setting to OFF only from within a program.

SET CONSOLE affects some interactive Visual FoxPro dialog boxes. For example, if SET CONSOLE is set to OFF and you issue BROWSE when no table is open, Visual FoxPro displays an error message. If SET CONSOLE is set to ON in the same circumstances, Visual FoxPro displays the Open dialog box.

SET CONSOLE does not affect output from @ ... SAY. Output from @ ... SAY is controlled by the SET DEVICE setting.

NoteNote

An error always sets SET CONSOLE to ON.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.