SET VIEW Command

See Also

Opens or closes the Data Session window or restores the Visual FoxPro environment from a view file.

Syntax

SET VIEW ON | OFF

-or-

SET VIEW TO FileName | ?

Arguments

ON

Opens the Data Session window.

OFF

(Default) Closes the Data Session window.

TO FileName

Restores the Visual FoxPro environment to the state it was in when the view file specified with FileName was created. View files are created with CREATE VIEW.

?

Displays the Open dialog box, from which you can open a view file.

Remarks

For more information on view files, see CREATE VIEW.