Progress
Report Builder
User’s Guide
Printing to a File
You can print a report to two different types of files:
Printing a Report to an Unformatted Text File
Follow these steps to print the contents of a report into an unformatted text file:
- Create the report definition.
- Choose Report
Export. The Export Text dialog box appears:
![]()
- Choose the text file’s character set.
- Specify the placement of carriage returns in the file. You can place a carriage return at the end of every line or place one carriage return per band.
- Specify the name of the file to which you are exporting text.
- Choose OK to export the report to the specified file and to return to the report layout.
Printing a Report to a Formatted File
When you print a file to a formatted file, the file includes the printer codes for the currently selected Windows printer.
Follow these steps to save the contents of a report into a file with all the formatting information intact:
- Create the report definition.
- Choose Report
Print. The Print dialog box appears:
![]()
- Activate the Print to file toggle box.
- Enter the name of the output file (optionally including a path) in the fill-in field. If you do not include a path, the file outputs to the current directory. Also, Report Builder prints only one copy of the specified report pages to the file, regardless of the value in the Copies field.
- Choose Print to output the report to the file you specified. If you choose Cancel to return to the layout but do not output the report, Report Builder retains the Print to file setting.
The output file includes printer codes for the currently selected Windows printer. To output to a plain text file with no printer codes, choose Report
Export.
NOTE: Because the Print to file setting is saved with the report, be sure that you set it to the appropriate setting. If you enable it, each time you print the report, Report Builder outputs the report definition to the specified print file.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |