Previous Topic: Adding Column HeadingsNext Topic: Demonstration (1): Formatting Multiple Line Column Headings


What You Can Do

You can direct CA Culprit to obtain column headings from:

How to Do It

You can use type 5 or type 4 parameters to create heading lines.

Method 1: Use any of the following codes on type 5 parameters:

A multiple-line heading is generated by enclosing the text for each line within a separate set of quotation marks:

0151*020 EMP-NAME        HH 'EMPLOYEE' 'NAME'

or

REC EMP-NAME                'EMPLOYEE' 'NAME'
0151*020 EMP-NAME        HR

              Column heading is: EMPLOYEE
                                   NAME

Method 2: Use type 4 parameters to create the headings. The type 4 parameter, typically used for special-purpose heading lines, is coded in the following order, from left to right:

  1. A 2-digit report number
  2. The parameter type (4)
  3. A numeral to identify the level of the line
  4. A column placement indicator consisting of either an asterisk (*) followed by a 3-digit number for relative placement or a 4-digit number for specific placement
  5. A spacing indicator, such as a blank for single spacing, a zero (0) for double spacing, or a dash (-) for triple spacing
  6. The text of the heading enclosed in single quotation marks or a field name