[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|           CREATE VIEW           |
+---------------------------------+
CREATE VIEW <file>

-----------------------------------
Creates view <file> from FoxPro environment.
-----------------------------------

The CREATE VIEW command builds a new view <file> containing information
about the FoxPro environment.  The SET VIEW command restores the
environment saved to a view file by the CREATE VIEW command.

View files created with the CREATE VIEW command are assigned a .VUE
extension.  View files can also be created in the label and report
utilities.  The label and report utilities allow you to save the
environment conditions when the labels or reports are created.  These
view files have the same name as the label or report definition file and
are assigned an extension of .LBV for label view files, and .RPV for
report view files.

The information saved in a view file includes:

        .       all database, index, alternate and format files currently open in
all twenty-five work areas

        .       all fields contained in the SET FIELDS list

        .       all established relations between open database files

        .       all filters in effect for open databases

        .       the DEFAULT and PATH settings

        .       the procedure file setting

        .       the current help file

        .       the current resource file

        .       the SET SKIP status

        .       the SET TALK setting

        .       the status bar state (ON or OFF)

View files are useful both in programs and while debugging.  Only one
command, SET VIEW TO <view file>, needs to be executed to establish the
entire environment needed to complete a task.  This can save lots of
typing.  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.

-----------------------------------

See Also:  SET VIEW

-----------------------------------

See Also: SET VIEW
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson