DTRHELP.HLB  —  Commands Statements Clauses, PRINT Statement (Report Writer), Argument
    print-list-element

       Specifies the values, position, print attributes, and format of
       the print objects in the detail line.

       Report Parameters Controlled by Print List Elements indicates
       the parameters of the report controlled by various print list
       elements.

       Table 1-4 Report Parameters Controlled by Print List Elements

                  Print List
       Parameter  Element          Usage Notes

       Content    Field-name       Can include elementary, group, list,
       of         [modifier]       REDEFINES or COMPUTED BY fields;
       detail                      to print all fields, specify the
       line                        top-level field name.
                  Related value-   Derived from field values using
                  expression       arithmetic operators or RUNNING
                  [modifier]       TOTAL.
                  Other value-     Can include literals, variables, or
                  expression       RUNNING COUNT.
                  [mod{fier]  }
       Format     ATT {RESET  }    Resets the attributes, or uses
       of             {name   }    the named attribute list. (See the

       detail                      DECLARE_ATT statement.)
       line
                  SKIP [n]         Begins printing the next print list
                                   element n lines from the current
                                   line. See also Usage Notes.
                  SPACE [n]        Leaves spaces between the output of
                                   the preceding and following print
                                   list elements. See also Usage Notes.
                  COL n            Specifies where the output of the
                                   next print list element begins. See
                                   also Usage Notes.
                  TAB [n]          Inserts the space of n tab characters
                                   before the output of the next print
                                   list element. See also Usage Notes.

       Beginning  NEW_PAGE         Causes the Report Writer to start a
       of                          new report page. Ignored in DTIF
       new page

       Report Parameters Affected by Print List Modifiers indicates the
       parameters of the report controlled by modifiers of print list
       elements.

       Table 1-5 Report Parameters Affected by Print List Modifiers

                 Print List
       Parameter Modifier           Usage Notes

       Column    ("header-          Specifies one or two line headers
       headers   segment"[          for the preceding field or value
       for       / . . . ])         expression, overriding the field
       print                        name or query header from the record
       items                        definition.
                 (-)                Suppresses the header indicated for
                                    the field in the record definition.

       Format    USING edit-string  Imposes the characteristics of the
       of the                       edit string on the preceding field
       detail                       name or value expression.
       line
       item
                 WIDTH [n]          Specifies the length of the string
                                    field. See also Usage Notes.
Close Help