I believe you can redirect this via config.fpw entries:
From the VFP help "Optimizing Visual FoxPro in a Multiuser Environment"
*snip*
For example, to redirect all temporary files to a directory called WORK on drive C:, include the following lines in your Config.fpw file:
TMPFILES=c:\work
EDITWORK=c:\work
SORTWORK=c:\work
PROGWORK=c:\work
You can probably change "c:\work" as needed to the network drive. Obviously you have to handle making sure the correct config.fpw is distributed with the app.
Of course this prompts the question: is it's really a good idea to put all the load of the temp files being accessed across the network for all the users? I would think that it could slow things down significantly.
HTH
- Brian
>When a remote view or cursor is created, it is created local in the temp directory. Is there a way of creating this cursor some where else, like in a directory on the server?
>
> My problem is, I have a lot of users who will use the program and there C:\drive may not always have enough space to store the cursor or view.
>
>Your information will be helpfull!!!
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com