Try OpenEdge Now
skip to main content
Programming Interfaces
Input/Output Processes : Creating Reports : Redirecting output
 

Redirecting output

A report procedure outputs to the screen by default and takes control of the application by building reports and pausing one screen at a time. Since this behavior takes control away from the user, you also learned to create a more user friendly interface for reports based on the OUTPUT TO statement. Essentially, report output gets redirected from the screen to a temporary file, and then the procedure reads the report results into an editor in a dialog box. This section discusses the OUTPUT TO statement and shows you how to send report output to text files and printers.
Other uses include sending reports to text tables or UNIX devices. See OpenEdge Development: ABL Reference for more information about these uses of the OUTPUT TO statement.
* OUTPUT TO and the default stream
* Directing output to a file
* Directing output to a printer
* Directing output to multiple destinations