| surfacing 2006-02-21, 6:55 pm |
| Hello,
I ran into unexpexcted problem:
my database files and respective indexes are located in (let's say)
_DATABASE_ folder and SET DEFAULT points to this folder. For intermediate
processing I use another folder (let's say) _TEMP_. I never had the need for
indexing the intermediate files. Finally this happened. Here's fragment of
the program:
locDBase="_TEMP_\locDBase.dbf" // the base exists
locCDX="_TEMP_\locCDX.cdx" // index file does not exist yet - will be
created
use &locDBase exclusive new
index on someField tag tagName to &locCDX
The last command creates index file but... in _DATABASE_ folder instead of
_TEMP_ folder.
Is there any possibility to force Clipper to create the index files in the
same folder where the database file resides?
For now before indexing the temporary databases, I close them, change
default path to temporary, open databases again and create indexes. After
finishing the task I get back to actual default path, but this is annoying a
bit... besides it creates additional gap to make programming mistakes...
tia
Marek
|