Difference between revisions of "SET FIELDS"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Fields and Records | Fields and Records | ||
Line 25: | Line 22: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
use patrons index events | use patrons index events | ||
set fields to date, event, name | set fields to date, event, name | ||
set fields on | set fields on | ||
− | list for date<=date()</ | + | list for date<=date()</code> |
Revision as of 16:12, 15 April 2009
Class
Fields and Records
Purpose
Specify a list of fields that are accessible in a table
Syntax
SET FIELDS TO <field list> | ALL
SET FIELDS ON | OFF | (<expL>)
See Also
Description
The SET FIELDS TO <field list> command defines a list of fields which are accessible from the currently selected table. The SET FIELDS TO ALL command allows all fields to be displayed. The <field list> is not used unless SET FIELDS is ON. The <field list> can only contain fields from the currently selected table. By default FIELDS is OFF, and all fields in the currently selected table are accessible.
Example
use patrons index events set fields to date, event, name set fields on list for date<=date()
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer