Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursors, foiled again...
Message
 
 
À
21/08/2009 13:21:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01419575
Message ID:
01419576
Vues:
119
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform