Rules For Naming User-Defined Elements; Rules For Referencing Data Base Elements; Record Name References; Field Name References - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

ENFORM Language Elements
Rules for Naming User Defined Elements
Rules for Naming User
Defined Elements
Rules for Referencing
Data Base Elements

Record Name References

Field Name References

3–6
When you name variables, tables, aggregates or parameters, the name:
Must be unique.
Must start with either an alphabetic character or a circumflex (^).
Can contain numbers, hyphens (-), or circumflexes (^).
Can be from 1 to 31 characters in length.
Must not contain embedded blanks.
Must not end with a hyphen (-).
When you reference a data base element within your query, you must follow certain
rules. The rules used to reference a record name, a field name, and a primary key are
described in the following paragraphs.
When you reference a record name within a query, the record name must be unique.
If a record name is the same as a field name in an open record description, ENFORM
assumes the unqualified reference refers to the field name.
Referencing a record name as a target-item is the same as referencing each occurrence
of each of the fields individually. A record name cannot be specified as an element in
a print list. ( A print list is part of the AT END statement and clause, the AT START
statement and clause, the FOOTING statement and clause, the SUBFOOTING
statement and clause, the SUBTITLE statement and clause, the TITLE statement and
clause, and the BEFORE CHANGE and AFTER CHANGE clauses.)
The same field name can exist in more than one data base file. If your query involves
data base files with duplicate field names, the field name must be uniquely qualified.
Field names can be qualified by using two different conventions. The first convention
joins the record or group name to the field name with a period:
record-name . field-name
or
group.name . field-name
The second convention joins the record or group name to the field name with the
keyword OF. When the OF syntax is used the field name or group name is written
first followed by OF and the qualifier needed:
field-name OF record-name
or
field-name OF group-name
058057 Tandem Computers Incorporated

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents