Was this helpful?
Print Statements
Use these statements to print text or data values in a report:
The .print statement prints text or values at a default position, or at a position which was previously specified with the column and block and/or text positioning statements.
The .nullstring statement specifies a string of characters you want to print in the report whenever a null value is encountered in the data.
The .underline and .nounderline statements control underlining for sections of text.
The .ulcharacter statement sets up a different underline character than the default, for use with Report-Writer underlining statements.
Use an expression in the .print statement syntax to specify the text or value you want to print. Expressions can include any (or any combination) of the following:
Column names from the data retrieval statement
Variables
Constants
Functions
Aggregates
Special report variables, such as the current_time, current_date, or page_number
You can optionally indicate the print format within the syntax of the .print statement, or you can specify it in a separate .format or .tformat statement for column values.
Last modified date: 08/14/2024