CREATE VIEW Command

See Also

Creates a view file from the Visual FoxPro environment.

Syntax

CREATE VIEW FileName

Arguments

FileName

Specifies the name of the view file to create.

Remarks

CREATE VIEW builds a new view file containing information about the Visual FoxPro environment. SET VIEW restores the environment saved to a view file by CREATE VIEW. View files created with CREATE VIEW are assigned a .vue extension.

The information saved in a view file includes:

View files are useful both in programs and while debugging. Only one command, SET VIEW TO FileName, needs to be executed to restore the entire environment. While debugging, the environment settings can be saved in a view file, testing can be performed, and the environment can be restored to continue program execution.