Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
(SQL) specifying the location of a cursor file
Message
De
27/07/2007 10:17:57
 
 
À
27/07/2007 10:04:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01243672
Message ID:
01244102
Vues:
21
>>>You could change this in your Config.FPW file.
>>I do this already to have my separate disk used as temp, but that gives me only 1 location.
>>
>>>I doubt you want some cursors to be created somewhere, but others to be created somewhere else.
>>Doubting is my job - see my first name<g>. I would like to have a collection of temp sites and be able to specify which one to use. Even better (in case no hints are in the code) if a large select from cursor on E:\Temp is done, put it into F:\Temp.
>
>Well you can do that with select into table, but then you've taken the housekeeping on yourself. I'd probably write a collection class which would give you a random filename in the least busy location, and then it'd be a matter of telling it to remove a file from the collection once I don't need it. Removing would also kill the physical file and any associated indexes and/or memo files.

Yupp, but this should be on a process level (think errors and debugging, so loacated in _screen) and has a few kinks in it. What I have is definately not releasable. As most of the work already exists for cursors, it is reinventing at least 3/4 of the wheel. But this was turned down as a worthwhile addition - as no more money comes from updates, I can't argue with it <g>.

regards

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform