Fixed Length Export

Kenneth Brody kenbrody at spamcop.net
Sat Aug 13 16:56:13 PDT 2011


On 8/13/2011 6:13 PM, Jerry Crespi wrote:
> Here is a short cut/workaround to the Fixed Length Export.
>
> Create a simple report layout.
> Using the "Grow" function, shorten all title lines.
> Be sure Remove Blank Lines is Y.
> Choose a "NOCODES" printer.
> Populate the fields you wish in columns on the data line.
> Make the length of the report the same as the lines. (66, 66)
> If you wish, the fields can be delimited if needed with whatever
> character you need.
>
> "Print" report to file (ASCII text).  The fields will be fixed length.

Note, however, that trailing spaces (if any) will be stripped, so this 
technique will work only if you guarantee that the last thing on the line 
will never have differing amounts of trailing spaces.  (For example, place a 
terminal '|' after the last field.)

-- 
Kenneth Brody


More information about the Filepro-list mailing list