Subject Re: SET PATH TO C:\OPD
From Andy Taylor <andy.taylor@which.net>
Date Mon, 23 Apr 2018 03:48:02 -0400
Newsgroups dbase.getting-started

Mustansir,
Yes. that should work without problems as you expect it to.
Andy

> Dear Andy
>
> My program is using both OODML and XDML commands. I at moment am using dbf tables for data management. Most of my queries access tables directly. I do not specitfy full path to tables , and expect to search from SET PATH TO (I used to this in Dbase IV). there are some tables to be used in exclusive mode which i keep in local folder.
>
> I want this scenario to work at moment with EXE file while I redefine my tables to be associated with database.
>
> Best Regards
> Mustansir
>
> Andy Taylor Wrote:
>
> > Mustansir,
> >
> > The "set path to" command merely gives an alternative place to find files that are not in the current folder.
> > Note that the presence of your compiled exe within c:\OPD1 does not guarantee that the "current folder" is c:\OPD1.
> > You can check by putting msgbox(set("directory")) in your startup file.
> > By the way, you don't state what your problem is; so I'm only guessing at it.
> >
> > Andy
> >
> > > Dear All
> > >
> > > My compiled exe file is in C:\OPD1.  In my startup prg file if I put following command SET PATH TO C:\OPD, does it not mean that all tables that are in the prg file  OR in all subsequent forms called from prg will be (if not associated with database) searched first in the current folder and if not found will be searched in the folder defined by SET PATH TO C:\OPD.
> > >
> > > Best Regards
> > > Mustansir
> >
>