EXPORT files are "closed" by the time @done rolls around....

John Esak john at valar.com
Sun Feb 4 11:35:13 PST 2007


Hi,

Another thing I mentioned to Ken in passing and want to make a definitive
report to support at fptech.com about is a small thing with EXPORT. Hopefully,
this can make it into the next minor release of filePro.

If you are doing an EXPORT to a file, you can not write to the export file
in @done processing because the file has already ben "closed" by filePro. No
explicit CLOSE anywhere in the processing, but filePro closes it anyway. I
realize this is probably just a hangover design decision from as far back as
Version 1.0 or earlier (whenever EXPORT first appeared), but it would be SO
useful to have that file stay OPEN through @done. It's a hassle to have to
do the @rs eq @ts thing... and besides @done has other great value...

Basically, let's say I've just written 30 rows of nummbers to a spreadsheet
and then once all records are written, I want to print the totals I've been
carrying under each column. It would be a simple thing to do @done.

So, can this be changed to accommodate the @done usefulness... I can't
imagine what harm could be done by closing the export files witht the END of
@done instead of the END of the last record.

Thanks,

John



More information about the Filepro-list mailing list