Difference between revisions of "SET VIEW"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET VIEW=
 
 
 
 
==Class==
 
==Class==
 
Table Organization
 
Table Organization
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
use patrons index events, dates, names
 
use patrons index events, dates, names
 
// View patrons.vue defines the above command
 
// View patrons.vue defines the above command
set view to patrons</pre>
+
set view to patrons
 +
</code>
  
  

Revision as of 14:43, 20 April 2009

Class

Table Organization


Purpose

Establish a view previously defined with the CREATE VIEW command


Syntax

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


See Also

ALIAS, CREATE VIEW, SET RELATION


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 Database Server, Recital Mirage Server, Recital Terminal Developer