Jump to content


Click the link below to see the new game I'm developing!


roger

Member Since 25 May 2008
Offline Last Active Sep 09 2017 11:26 PM
-----

Topics I've Started

Data extract using Print to file

25 May 2008 - 09:43 AM

I am using ProIV V5.5 native on Windows 2003 Server and XP Clients with a large, old legacy application.

I need to produce a flat file containing records of 628 chars (plus CR/LF (no CR/LF wouldok be ok)) for tax office purposes.

Initial throught was to print a report function (with multiple records and nested reports) to an external disk file.

Initially it did not want to allow long lines.
I have changed the VARDEF (&#@PWID AND &#@REPCOL) entries to 700 to try and allow more than 132 column printing.

When using a single field (logic 0 define to be big enough) print, it is being truncated at 188 chars.
When using multiple records and fields in a report with a trailing field of 'X' in col 628, I end up with the 'X' in column 116, lines split, data missing and maximum lines of 188 characters.

Is there a known way of producing an external file with fixed length 628 chars (plus CR/LF) from ProIV??

Any help would be appreciated.

Click the link below to see the new game I'm developing!