Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread In-memory query creates dbisam.lck etc..
Tue, Dec 18 2012 11:18 AMPermanent Link

Arno Garrels

In-memory query creates dbisam.lck and temporary files, .blb, .dat and an .idx on Open. The problem is that these files are created in the .EXE-directory, how to change that directory? I already tried to assign Directory of the Database object with DatabaseName "Memory", but no change.
I also tried to assign Engine.LockFileName however then I got some exception error message with a file name (that couldn't be opened) that looked buggy, it's concatenated <exe path><assigned full path and file name> i.e "c:\exedir\c:\tempdir\dbisam.lck".

--
Arno Garrels
Tue, Dec 18 2012 12:17 PMPermanent Link

Jose Eduardo Helminsky

HPro Informatica

Arno

In the event FormCreate of your main form (just before any use of
TDBISamTable or TDBISamQuery):

Session.PrivateDir := 'c:\windows\temp';

Eduardo

Wed, Dec 19 2012 10:46 AMPermanent Link

Arno Garrels

"Eduardo [HPro]" wrote:

> Session.PrivateDir := 'c:\windows\temp';

Many thanks, that did the trick.

--
Arno Garrels
Image