Compaq AAQ2G1FTK Marine Radio User Manual


 
10.8.8 Defining the Source for a Print Field . . . ....................... 10–31
10.8.9 Specifying Multiple Reports . ................................ 10–32
10.8.10 Generating and Controlling Report Headings and Footings . . ....... 10–32
10.8.11 Defining and Incrementing Totals ............................ 10–34
10.8.11.1 Subtotaling . . ........................................ 10–34
10.8.11.2 Crossfooting . . ........................................ 10–35
10.8.11.3 Rolling Forward ....................................... 10–35
10.8.11.4 RESET Option ........................................ 10–36
10.8.11.5 UPON Option . ........................................ 10–36
10.8.12 Restricting Print Items .................................... 10–37
10.8.13 Processing a Report Writer Report ............................ 10–38
10.8.13.1 Initiating the Report . . . ................................ 10–38
10.8.13.2 Generating a Report Writer Report . ....................... 10–39
10.8.13.3 Automatic Operations of the GENERATE Statement . . . ....... 10–39
10.8.13.4 Ending Report Writer Processing . . . ....................... 10–40
10.8.13.5 Applying the USE BEFORE REPORTING Statement . . . ....... 10–41
10.8.13.6 Suppressing a Report Group ............................. 10–42
10.8.14 Selecting a Report Writer Report Type . . ....................... 10–42
10.8.14.1 Detail Reporting ....................................... 10–42
10.8.14.2 Summary Reporting .................................... 10–43
10.9 Report Writer Examples ....................................... 10–43
10.9.1 Input Data .............................................. 10–43
10.9.2 EX1006—Detail Report Program ............................. 10–44
10.9.3 EX1007—Detail Report Program ............................. 10–49
10.9.4 EX1008—Detail Report Program ............................. 10–57
10.9.5 EX1009—Detail Report Program ............................. 10–65
10.9.6 EX1010—Summary Report Program . . . ....................... 10–74
10.10 Solving Report Problems ...................................... 10–82
10.10.1 Printing More Than One Logical Line on a Single Physical Line ..... 10–82
10.10.2 Group Indicating . ........................................ 10–87
10.10.3 Fitting Reports on the Page . ................................ 10–88
10.10.4 Printing Totals Before Detail Lines ........................... 10–88
10.10.5 Underlining Items in Your Reports ........................... 10–89
10.10.6 Bolding Items in Your Reports ............................... 10–89
11 Using ACCEPT and DISPLAY Statements for Input/Output and
Video Forms
11.1 Using ACCEPT and DISPLAY for I/O ............................ 11–1
11.2 Designing Video Forms with ACCEPT and DISPLAY Statement
Extensions . ................................................ 11–3
11.2.1 Clearing a Screen Area .................................... 11–4
11.2.2 Horizontal and Vertical Positioning of the Cursor . ............... 11–5
11.2.3 Assigning Character Attributes to Your Format Entries ........... 11–8
11.2.4 Using the CONVERSION Phrase to Display Numeric Data . ....... 11–9
11.2.5 Handling Data with ACCEPT Options . . ....................... 11–12
11.2.5.1 Using CONVERSION with ACCEPT Data ................... 11–12
11.2.5.2 Using ON EXCEPTION When Accepting Data with
CONVERSION ........................................ 11–13
11.2.5.3 Protecting the Screen . . . ................................ 11–14
11.2.5.4 Using NO ECHO with ACCEPT Data ...................... 11–16
11.2.5.5 Assigning Default Values to Data Fields .................... 11–16
11.2.6 Using Terminal Keys to Define Special Program Functions . . ....... 11–20
11.2.7 Using the EDITING Phrase . ................................ 11–28
ix