Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursors, foiled again...
Message
 
 
To
21/08/2009 13:21:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01419575
Message ID:
01419576
Views:
120
>Hi All,
>
>I want to direct the creation of a temp cursor to a specific location, like a local temp folder but I don't want to use the SET DEFAULT TO command. Is there a way to do this like CREATE CURSOR C:\TEMP\TEMPCUR(field1, c(10),...)?
>Thanks.
>
>Luke

You need to specify the TEMP folder in config.fpw This is the folder where all the temporary cursors are created (if not specified, it uses Windows Default temp path).

See help for "Config.fpw"

TMPFILES path
Specifies where temporary work files specified by EDITWORK, SORTWORK, and PROGWORK configuration file settings are stored if they are not specified.

Because work files can become very large, specify a location with plenty of free space. For faster performance, especially in a multiuser environment, specify a fast disk such as a local disk.

Default: Operating system dependent. For more information, see Optimizing the Operating Environment.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform