Opens or closes the Data Session window or restores the Visual FoxPro environment from a view file.
SET VIEW ON | OFF -or- SET VIEW TO FileName | ?
- Opens the Data Session window.
- (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.
For more information on view files, see CREATE VIEW.