Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Tables not found in Delphi IDE in Rad studio..
Mon, Dec 31 2007 5:37 PMPermanent Link

"Hüseyin Aliz"
Hi All,

First of all, i wish you all healthy and happiness in 2008!

I am trying to convert one of my app from D7 to D2007 (RAD), and have a
strange problem. When i try to open the project, the IDE shows:

DBISAM Engine Error # 11010 Table or backup file "table" does not exist.

Sometimes it helps to delete the project's *.res file, and load the project
again, sometimes it does not.

Loading same project in D7 afterwards works fine.

Latest build of DBISAM v4.25 Build 7 and Radstudio w update 3 (+ december
update).

Thanks in advance,

Regards,

Hüseyin A.

Tue, Jan 1 2008 1:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hüseyin,

<< I am trying to convert one of my app from D7 to D2007 (RAD), and have a
strange problem. When i try to open the project, the IDE shows:

DBISAM Engine Error # 11010 Table or backup file "table" does not exist. >>

This is almost always a symptom of using relative path names in your
application's TDBISAMDatabase, TDBISAMTable, or TDBISAMQuery components.
The IDE can change its working directory during operation, and using
relative paths is very unreliable.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jan 2 2008 6:52 AMPermanent Link

"Hüseyin Aliz"
Hi Tim,

TDBISAMDatabase component has:

DatabaseName filled, Directory 'empty' and SessionName 'Default', so i am
not using relative path names Smile

Regards,
Hüseyin


"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> skrev i en
meddelelse news:977238A6-183C-4B4B-8784-9B9251DBA393@news.elevatesoft.com...
> Hüseyin,
>
> << I am trying to convert one of my app from D7 to D2007 (RAD), and have a
> strange problem. When i try to open the project, the IDE shows:
>
> DBISAM Engine Error # 11010 Table or backup file "table" does not exist.
>  >>
>
> This is almost always a symptom of using relative path names in your
> application's TDBISAMDatabase, TDBISAMTable, or TDBISAMQuery components.
> The IDE can change its working directory during operation, and using
> relative paths is very unreliable.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>

Wed, Jan 2 2008 3:49 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hüseyin,

<< DatabaseName filled, Directory 'empty' and SessionName 'Default', so i am
not using relative path names Smile>>

If the Directory property is empty, then you are using relative path names,
with the relative path name being the current working directory.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jan 2 2008 4:26 PMPermanent Link

"Hüseyin Aliz"
Ah ok,

But i have always used this approach?

Regards,
Hüseyin

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> skrev i en
meddelelse news:6D59B8DD-E352-4ED2-BC98-BB00130D13B6@news.elevatesoft.com...
> Hüseyin,
>
> << DatabaseName filled, Directory 'empty' and SessionName 'Default', so i
> am not using relative path names Smile>>
>
> If the Directory property is empty, then you are using relative path
> names, with the relative path name being the current working directory.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>

Fri, Jan 4 2008 7:46 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hüseyin,

<< But i have always used this approach? >>

You'll notice that the newer Delphi IDEs constantly change the current
working directory based upon which .pas unit is current in the editor
window.  That's the change.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Jan 4 2008 8:43 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>You'll notice that the newer Delphi IDEs constantly change the current
>working directory based upon which .pas unit is current in the editor
>window. That's the change.

I have and I hate it!

Roy Lambert
Fri, Jan 4 2008 4:48 PMPermanent Link

"J. B. Ferguson"
So Tim, what's the easiest way to handle this? I have one application
where the data is on the server but I distribute the lookup tables,
which contain static data. In the past I have always used  .\Data  as
the directory location for the local tables. Now I am seeing the same
problem as Hlseyin. Do we need to use an INI file to handle this?

--
Regards,
Jan Ferguson


Tim Young [Elevate Software] wrote:

<<H|seyin,
<<
<<<< But i have always used this approach? >>
<<
<<You'll notice that the newer Delphi IDEs constantly change the
<<current working directory based upon which .pas unit is current in
<<the editor window.  That's the change.
Mon, Jan 7 2008 7:10 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jan,

<< So Tim, what's the easiest way to handle this? I have one application
where the data is on the server but I distribute the lookup tables, which
contain static data. In the past I have always used  .\Data  as the
directory location for the local tables. Now I am seeing the same problem as
Hlseyin. Do we need to use an INI file to handle this? >>

You can use whatever you see fit - registry, .INI file, hard-coded path,
etc.  The only thing is - don't use relative paths, especially at
design-time.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Jan 7 2008 10:16 PMPermanent Link

"J. B. Ferguson"
Thanks Tim...
--
Regards,
Jan Ferguson


Tim Young [Elevate Software] wrote:

<<Jan,
<<You can use whatever you see fit - registry, .INI file, hard-coded
<<path, etc.  The only thing is - don't use relative paths, especially
<<at design-time.
Image