Subject Re: exe problem
From Charlie <tm@tc.com>
Date Wed, 07 Oct 2020 20:58:41 -0400
Newsgroups dbase.getting-started

Thanks very much for everyone's suggestions.  

I changed two paths to absolute to fix the tempfile problem.  Most likely that won't cause future problems, but I would prefer to change them back if possible if this is resolved.

Haven't had a chance to look at the temp table suggestions but will.  As it turns out i am trying to resolve a perl/xampp related problem on the new computer at the same time.  Perl setup is so screwed up!!  Driving me nuts.

Mervyn Bick Wrote:

> On 2020/10/05 23:28, Charlie wrote:
> > Hi Mervyn...
> >
> > There is one other program that has the orderby clause and has the same or similar error.  This works fine on my other computers.  There is something going on here.  Nothing that I have done as I haven't coded on this computer yet.
> >
> > I think the tempworkfile came from something you helped me with.  The code is below.  The last line is the one that triggers the error.
> >
> > Is there something in dbase that tells the program where to hold temp files?
> >
> > cFileIn ='c:\golfcb\info\users.csv'
> > cFileOut = 'tempworkfile.txt'
> > fIn = new file()
> > fIn.open(cFileIn)
> > fOut = new file()
> > fOut.create(cFileOut)
>
> Until we find out why dBASE is trying to place temporary files in
> forbidden territory change cFileOut to 'c:\golfcb\info\tempworkfile.txt'
>
> Mervyn.