Partager via


SET VIEW Command

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 | ?

Parameters

  • 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.

See Also

CREATE VIEW | SET | Data Session Window