Progress
Results User’s Guide
for Windows
Generating an ASCII File
Once you create the initial export query, you can generate an ASCII file by selecting the export type for the ASCII file, then creating the file. The following sections explain how to do this.
Selecting an Export Type
Applications often differ in the way they expect ASCII files to be formatted. Thus, Results provides several export types to format data for a variety of applications:
- ASCII
- ASCII with field-name header
- ASCII fixed-width (SDF)
- ASCII fixed-width (SDF) with field-name header
- Comma-separated value (CSV)
- DIF with dates as strings
- DIF with dates as numbers
- Microsoft Word (creates an ASCII data merge file)
- Microsoft Word for Windows (creates an ASCII data merge file)
- Progress
- SYLK
- System Data Format
- WordPerfect with crlf (creates an ASCII data merge file)
- WordPerfect without crlf (creates an ASCII data merge file)
- WordStar (creates an ASCII data merge file)
NOTE: If none of the export types is suitable, you can temporarily modify an existing export type by overriding the values of one or more of its format attributes. For more information, see the "Modifying Export Types" section.By default, Results uses the Progress export type to generate ASCII files.
Follow these steps to choose a different export type:
- Determine which export type you want to use.
See the documentation for the application in which you plan to incorporate the data file to determine which export format to use.
- Choose Options
Standard Export. The Standard Export dialog box appears:
![]()
- Select the export type you want to use, then choose OK.
Creating an ASCII File
Follow these steps to create an ASCII file:
- Choose Query
To File. The Print to File dialog box appears:
![]()
By default, Results names the file
export.txt
and saves it in your working directory. You can change the defaults, as follows:
- To rename the file, type a new file name in the File field.
- To change the directory in which the file is located, either type the full pathname and filename in the File field, or choose Files and change the directory.
- To append the file to the end of an existing ASCII file, first activate the Append to Existing File toggle box, then in the File field, enter the name of the existing file to which you want to append the file.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |