Icon View Incident Report

Serious Serious
Reported By: Wes Peterson
Reported On: 1/14/2004
For: Version 4.01 Build 1
# 1528 Current Working Directory Not Set Properly for TDBISAMDatabase with Empty Directory Property

Using a TDBISAMDatabase component with an empty Directory property is not using the current working directory like it did with version 3. I get a "Table Not Found" message when trying to open a table that I know is present in the current working directory.


Comments Comments and Workarounds
The difference between 3.x and 4.x with respect to the current working directory is that the current working directory in 4.x is being set on a session basis, and with 3.x it was set on a database basis. So, given that the example is using the default session, the default directory when the default session is started, i.e. when Delphi is started, is usually \Delphi5\Projects. As a workaround, if you put an explicit TDBISAMSession on the form/data module and use it instead you will get the desired result.


Resolution Resolution
Fixed Problem on 1/16/2004 in version 4.02 build 1
Image