NOHEADINGS

From CometWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
 
== NOHEADINGS ==
== NOHEADINGS ==
   
   
Line 9: Line 8:
The NOHEADINGS command may be used globally or locally, as follows:  
The NOHEADINGS command may be used globally or locally, as follows:  
-
'''Globally'''  
+
'''Globally''' <br>
If you use the NOHEADINGS command before the REPORT command, all of the print lines will appear without headings.  
If you use the NOHEADINGS command before the REPORT command, all of the print lines will appear without headings.  
Line 24: Line 23:
      
      
-
'''Locally'''  
+
'''Locally''' <br>
If you use the NOHEADINGS command after the REPORT command, the indentation applies only to the next secondary print line.  
If you use the NOHEADINGS command after the REPORT command, the indentation applies only to the next secondary print line.  

Latest revision as of 10:05, 6 June 2009

NOHEADINGS

Syntax:
NOHEADINGS
Placement:
See discussion.
Disucssion:
NOHEADINGS suppresses column titles for a particular print line.
It does not suppress overall format command such as date, primary file name, overall report title, and page number.
Each print line in a multiple-line report must contain its own NOHEADINGS command to suppress column titles.

The NOHEADINGS command may be used globally or locally, as follows:

Globally
If you use the NOHEADINGS command before the REPORT command, all of the print lines will appear without headings.

For example:

    NOHEADINGS     ! NOHEADINGS command in global section
    REPORT
    .
    PRINT ...      ! print line with no headings
    USING ...
    PRINT ...      ! print line with no headings
    USING ...
    PRINT ...      ! print line with no headings
    

Locally
If you use the NOHEADINGS command after the REPORT command, the indentation applies only to the next secondary print line.

For example:

    REPORT
    .
    PRINT ...
    USING ...
    PRINT ...
    NOHEADINGS      ! NOHEADINGS command in local section
    USING ...
    PRINT ...       ! print line with no headings