User guide

Contents
vi 058058 Tandem Computers Incorporated
Section 3 Developing an ENFORM Query
Establishing the Query Environment 3-2
Identifying the Dictionary 3-2
Identifying Record Descriptions 3-2
Assigning Record Descriptions to Different Physical Files 3-4
Defining User Elements 3-6
Setting Option Variables 3-6
Connecting Record Descriptions to Form New Relationships 3-7
Making Session Wide Links 3-8
Using the LINK Statement 3-9
Using the LINK OPTIONAL Statement 3-10
Session-Wide Links and the WHERE Clause 3-12
Clearing Unnecessary Session-Wide Links 3-15
Examining Session-Wide Links 3-15
Establishing Links for the Current Query 3-16
Combining Links 3-17
Selecting Information 3-24
Producing a Report 3-24
Creating a New Physical File 3-27
Restricting Selected Information 3-30
Sorting and Grouping Selected Information 3-31
Specifying Computations for a Report 3-33
Calculating a Subtotal 3-33
Calculating a Total 3-35
Calculating Percentages 3-35
Generating a Running Total 3-38
Formatting a Report 3-39
Printing Information Within a Report 3-41
Adding Information Within the Body of the Report 3-43
Printing Information at the Beginning or End of a Report 3-45
Printing Information at the Bottom of Every Report Page 3-46
Printing Information at the Top of Each Report Page 3-47