Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Space in folder/file name on create cursor
Message
De
24/04/2006 09:47:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/04/2006 08:01:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01115923
Message ID:
01115964
Vues:
9
>Is there anyway to have spaces in a folder name when using CREATE CURSOR?
>
>EG. Temp folder is \application\document store\working files\
>
>When I use CREATE CURSOR \application\document store\working files\MyTemp
>
>I get syntax error.

That's because when you create a cursor, you can only assign it an alias, not a physical filename. The physical name (if it has any physical presence at all) is something.tmp in the temp directory.

Since your temp folder is already where you want it, you don't need to do anything in particular. Check this:
create cursor mytemp (c c(10))
?dbf()
And the result should be something in your temp directory. Note, again, that the file won't necessarily exist - though it may come into existence, if your cursor grows more than Fox can fit into available memory.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform