SET VIEW

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Establish a view previously defined with the CREATE VIEW command


Syntax

SET VIEW TO <.vue filename> | (<expC>)


See Also

ALIAS(), CREATE BRIDGE, CREATE VIEW, INDEX, SET FORMAT, SET INDEX, SET ORDER, SET RELATION, USE


Description

The SET VIEW TO <.vue filename> command establishes a logical view of a group of tables, which can then be viewed as one if they are related together. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, ’.vue’ is used. Once a view has been established, the workarea that was current when the view was created is selected.


Example

use patrons index events, dates, names
// View patrons.vue defines the above command
set view to patrons


Products

Recital Server, Recital