Kbase P26441: How to export data from a Report Builder report to a text file with and without control codes
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/11/2005 |
|
Status: Verified
GOAL:
How to export data from a Report Builder report to a text file.
GOAL:
How to write a Report Builder report to a file and include printer control codes or just plain ASCII text.
FIX:
It is possible to output a report to a file with both Report Builder and the Report Engine.
To export to file with Control codes, use the following settings:
For Report Builder, select Report -> Print
Print to file
For the Report Engine, configure the following parameters:
RB-PRINT-DESTINATION = ""
RB-OUTPUT-FILE = "<Filename>"
To export to file without Control codes in plain ASCII text, use the following settings:
For Report Builder, select Report -> Export
For the Report Engine, configure the following parameters:
RB-PRINT-DESTINATION = "A"
RB-OUTPUT-FILE = "<Filename>"
When the RB-PRINT-DESTINATION is blank, specify an output file name and optionally specify a printer name. Report Builder will include control codes in the output file for the specified printer, or if no printer is specified, for the printer that was saved in the report.