>VFP's help file says :
>
>Specify an alternate location by including one or more of the EDITWORK, SORTWORK, PROGWORK, and TMPFILES statements in the Config.fpw file.
>
>but what do I need to do if I need to change it at run time a few times during program execution?
>
>
>TIA,
>
>Yanick Lavoie
What I have done in my app is create a data manager class. This class when initialized tells me where my app should put any temp files. If per chance I need to change this during runtime I would just change the property oData.TempDirectory and then continue on. oData is declared in my start prg and thus is available for the duration of my app.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope