Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
(SQL) specifying the location of a cursor file
Message
From
27/07/2007 10:04:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
27/07/2007 01:44:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01243672
Message ID:
01244090
Views:
24
>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform