Dropped Fields in Export
Mike Schwartz
mschw at athenet.net
Sun Apr 12 19:51:56 PDT 2015
> Currently I do the export in record number order. So wonder if I add a
string
> to record #1's empty fields like "EMPTY" and remove it later by replacing
> "EMPTY" with "".
>
> Do you know if the output export file's structure is defined on what the
> actually data looks like from the first record it processes, and holds
true for all
> subsequent records? My documents doesn't talk about any of this...
>
> Thanks, Stanley
As I recall, each record gets truncated if the last fields in that
record are empty. So doing putting "EMPTY" only at the end of record #1
won't help.
AFAIK, this is a problem only with filePro's EXPORT command. If you
create the file any other way, I don't think you will have this problem.
For example, see functions like: Writeline(), CREATE(), OPEN(), READ(),
READLINE(), WRITE().
Stuart Werner's filepro training books (Developer reference series)
have good sections describing how to create output files using several
different methods.
Mike
More information about the Filepro-list
mailing list