613-518-1166 info@zimdatabases.com

ZIM Language Reference

SET OUTPUT

< All Topics

Specifies the current output.

Syntax

SET OUTPUT docname [APPEND]

Parameters

docname

The name of the application document to which all output is to be sent. Can also be one of the two pre-defined application documents, terminal or printer.

APPEND

Specifies that new output to docname is to be appended to the output already existing in the application document (if any).

Comments

The SET OUTPUT command specifies the application document that is to receive the output from all subsequent FORM REPORT, GENERATE, LIST, OUTPUT, PRINT, REPORT FROM, and SELECT commands. The setting remains in effect until changed by a subsequent SET OUTPUT command.

The software provides two pre-defined application documents, terminal and printer, that correspond to your terminal screen and default printer, respectively. OUTPUT is set to Terminal by default. If set to printer, the SET OUTPUT command has no impact on the format in which the report prints; use $setproperty to change print properties for a report.  

Example

set output MyDoc append
set output printer
report from …
 … other commands …
endreport
set output terminal

 

See Also

$setproperty

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents