Enform Plus Reference Manual
Enform Plus Language Elements
Enform Plus Reference Manual—422684-001
3-6
Rules for Naming User-Defined Elements
Rules for Naming User-Defined Elements
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 (-)
Rules for Referencing Database Elements
When you reference a database 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.
Record Name References
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 Plus 
operates as if 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.)
Field Name References
The same field name can exist in more than one database file. If your query involves 
database 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:










