Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread ElevateDB for Lazarus DatabaseName issue with EDBTable
Sun, Dec 25 2016 5:33 PMPermanent Link

David Dienhart

Avatar

I used to do quite a bit of DBISAM and some ElevateDB development using Delphi and am now getting back into the game after a few year hiatus using Lazarus so I'm not a total newb, although am feeling a bit like I am...

I setup my database exactly as the tutorial explains in the "ElevateDB Version 2 Manual" and noticed a discrepancy between the tutorial and reality. On Page 12 step 11: "DatabaseName property and change its value to TutorialDB", if I set the DatabaseName property to TutorialDB, I get the following error when I run the application: Project LIM raised exception class 'EEDBException' with message: ElevateDB Error #401 The database TutorialDB does not exist
In file 'edbconfig.pas' at line 5734. If I change the DatabaseName to "Tutorial" instead. The application runs as expected.

I hope this helps anyone else that may have encountered the same issue and am curious as to which is correct.

Sys Specs:
Win7
Lazarus: 1.6.2
ElevateDB EngineVersion: 2.24 Build 3
Huge fan of DBISAM and ElevateDB. I've been using it since 2001.
Wed, Dec 28 2016 2:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

David,

<< I used to do quite a bit of DBISAM and some ElevateDB development using Delphi and am now getting back into the game after a few year hiatus using Lazarus so I'm not a total newb, although am feeling a bit like I am... >>

Welcome back. Smile

<< I setup my database exactly as the tutorial explains in the "ElevateDB Version 2 Manual" and noticed a discrepancy between the tutorial and reality. On Page 12 step 11: "DatabaseName property and change its value to TutorialDB", if I set the DatabaseName property to TutorialDB, I get the following error when I run the application: Project LIM raised exception class 'EEDBException' with message: ElevateDB Error #401 The database TutorialDB does not exist In file 'edbconfig.pas' at line 5734. If I change the DatabaseName to "Tutorial" instead. The application runs as expected. >>

Did you possibly skip step #9, where the TEDBDatabase's DatabaseName is set to 'TutorialDB'.  That is what the TEDBTable should be picking up, and you should be able to see this by using the drop-down combo box for the TEDBTable.DatabaseName property editor.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Dec 28 2016 7:45 PMPermanent Link

David Dienhart

Avatar

Tim Young [Elevate Software] wrote:

David,

<< I used to do quite a bit of DBISAM and some ElevateDB development using Delphi and am now getting back into the game after a few year hiatus using Lazarus so I'm not a total newb, although am feeling a bit like I am... >>

Welcome back. Smile

<< I setup my database exactly as the tutorial explains in the "ElevateDB Version 2 Manual" and noticed a discrepancy between the tutorial and reality. On Page 12 step 11: "DatabaseName property and change its value to TutorialDB", if I set the DatabaseName property to TutorialDB, I get the following error when I run the application: Project LIM raised exception class 'EEDBException' with message: ElevateDB Error #401 The database TutorialDB does not exist In file 'edbconfig.pas' at line 5734. If I change the DatabaseName to "Tutorial" instead. The application runs as expected. >>

Did you possibly skip step #9, where the TEDBDatabase's DatabaseName is set to 'TutorialDB'.  That is what the TEDBTable should be picking up, and you should be able to see this by using the drop-down combo box for the TEDBTable.DatabaseName property editor.

Tim, Thanks for the follow-up. I double checked, and it's set as it should be in "TEDBDatabase's DatabaseName". I'm picking it up using the Database property.It seems quite odd.

Tim Young
Elevate Software
www.elevatesoft.com
Huge fan of DBISAM and ElevateDB. I've been using it since 2001.
Wed, Jan 4 2017 1:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

David,

<< Tim, Thanks for the follow-up. I double checked, and it's set as it should be in "TEDBDatabase's DatabaseName". I'm picking it up using the Database property.It seems quite odd. >>

Okay, I know that you switched to using the VCL version, but I will double-check on this and see if I can find out what the issue is.

Tim Young
Elevate Software
www.elevatesoft.com
Image