export gotcha

Robert Haussmann haussma at nextdimension.net
Sun Nov 14 17:58:59 PST 2004


 
> Robert Haussmann wrote:
> > 
> > Here's a head's up to anyone using the export command to
> > create external files, in the hopes of saving someone
> > else a few hours of troubleshooting time.
> > 
> > There's a potential conflict in naming arrays/variables and
> > exports that can cause unexpected results.  This is on
> > fileProODBC 1.0.13, though it probably exists on
> > other platforms as well.
> [...]
> 
> Can you give this a quick test with the .14 update?  It sounds like it
> may be related to this fix:
> 
> > (All) #709
> > 
> >     EXPORT ASCII/WORD would always export the same number of fields,
> >     regardless of whether the fields were assigned to on 
> each record,
> >     even if they were only referenced in a comment.
> > 
> >     Now, filePro will only export the number of fields as 
> the highest-
> >     reference field actually assigned.
> [...]
> >     To revert back to the old behavior, set PFEXPORTALL=ON.
> 

Looks like this was the culprit.  Tested this on a .14 system and
the variable names no longer interfere with the export.

Bob



More information about the Filepro-list mailing list