SQL logic error or missing database

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Junior Boarder
Junior Boarder
Posts: 47
Joined: 27.05.2010, 21:04

SQL logic error or missing database

Postby IbeDBob » 22.07.2014, 20:05

Hi All, I have to use Zeos 6.6. as I am still on Delphi 5 and am getting this error when opening a database.

In the IDE it works fine.
Running the program directly form the development folder it works fine.
But - if I make a copy of the program, the sqlite.dll and the database in another folder, I get the above error.

Anyone suggest what is going wrong here?

I can't step through the opening process as it all works fine in the IDE.

Dyslexic Bob

Gold Boarder
Gold Boarder
Posts: 658
Joined: 17.01.2011, 14:17

Re: SQL logic error or missing database

Postby marsupilami » 31.07.2014, 17:41

Hello Dyslexic Bob,

could you please check, if the path to your database if hard coded in the source or if the path actually gets set correctly during runtime? Usually you should set it by some statement like

Code: Select all

ZConnection.Database := ExtractFilePath(ParamStr(0)) + 'sqlite.db';

Best regards,


Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 26.09.2014, 21:32
Location: Ghana

In my opinion, it is the big error.

Postby Timothykr » 24.10.2014, 12:13

You have hit the mark. It seems to me it is very excellent thought. Completely with you I will agree.

Return to “6.6 - stable”

Who is online

Users browsing this forum: No registered users and 1 guest