Search found 67 matches

by aducom
12.06.2013, 20:39
Forum: ZeosLib 7.0 Stable Forum
Topic: Problem with query with SQLite
Replies: 19
Views: 7225

Ok, I need to reopen this. If you create a simple application things work. Now I have a main program and a datamodule. In the datamodule I have a db and a query object, linked together. then I have a separate module to create a database if it does not exists. In the main menu you can select this mod...
by aducom
10.06.2013, 18:41
Forum: ZeosLib 7.0 Stable Forum
Topic: Problem with query with SQLite
Replies: 19
Views: 7225

Ok, I should have tried this immediately. I just created a small project and guess what? Things are working. That means that I am doing something stupid in my project.... but realy don't know what....

However, it seems not to be a zeos problem :-)

Sorry for the trouble.
by aducom
10.06.2013, 18:13
Forum: ZeosLib 7.0 Stable Forum
Topic: Problem with query with SQLite
Replies: 19
Views: 7225

Ok, I uninstalled everything, including zeos. Reinstalled Lazarus. Installed Zeos. Recompiled IDE. Error persits. In the next code the database and tables are created, but as soon as the select is executed then the error comes up: 'create table if not exists phsp_pref ('+ 'sectionId varchar(32),'+ '...
by aducom
09.06.2013, 09:23
Forum: ZeosLib 7.0 Stable Forum
Topic: Problem with query with SQLite
Replies: 19
Views: 7225

Database is set to the path and name of the database. Connectiontype is sqlite or sqlite-3 (both give same error). If I use a ttable or use create table with tquery it works well, but if I use select statements I get the error. If there are fellows who do not have issues with Zeos on lazarus as mmvi...
by aducom
08.06.2013, 21:30
Forum: ZeosLib 7.0 Stable Forum
Topic: Problem with query with SQLite
Replies: 19
Views: 7225

I'm running under Windows 8. Long time ago I wrote my own Delphi components for sqlite, and I recognize this message. It has something to do with calling the api out-of-sequence. I wasn't able to debug, but I'm not sure I'm the only one with the problem. I tested the readonly version, but this gives...
by aducom
08.06.2013, 09:39
Forum: ZeosLib 7.0 Stable Forum
Topic: Problem with query with SQLite
Replies: 19
Views: 7225

Problem with query with SQLite

I can connect to a sqlite database and use the ttable component. However if I connect a TQuery every select is generating error: sql logic error or missing database I can use create table with tquery though. Anybody experiencing same problem? It useually is an sqlite api issue, but I'm not sure. It'...
by aducom
20.01.2013, 16:03
Forum: ZeosLib 7.0 Stable Forum
Topic: problem with ttable component in lazarus
Replies: 4
Views: 1202

I was introduced a long time ago in the days of Zeos 4. I have worked with svn before, but mostly I send my remarks to Mark. But I don't mind making the changes into the branch myself. I don't need to wait for a done job ;-)
I need new credentials though.
by aducom
20.01.2013, 11:08
Forum: ZeosLib 7.0 Stable Forum
Topic: problem with ttable component in lazarus
Replies: 4
Views: 1202

problem with ttable component in lazarus

It's been a while I used Zeos. Nice to be back here. I looked at the latest version in Lazarus 1.0.4. Install went well. But if I want to select a table then using the pulldown of tablenames generates an error. GetTableNames also generates an error. Now it's obvious to think that it's because of MyS...
by aducom
28.01.2009, 16:17
Forum: SQLite
Topic: how to cancel query execution
Replies: 2
Views: 587

It is possible but not out-of-the-box within Zeos. You need to use a wrapper for that as it is possible to define a callback while executing. See sqlite.org for details.

Albert
by aducom
28.01.2009, 16:14
Forum: SQLite
Topic: ZEOS 6.0.9 + Delphi7 + SQLite Connection ?
Replies: 1
Views: 669

Most likely, since working with sqlite is pretty much the same as MySQL etc.

albert
by aducom
19.12.2008, 10:49
Forum: ZeosLib 7.0 Beta Forum
Topic: gto's thoughts on Zeos architecture
Replies: 13
Views: 1919

Just a few cents. All databases have their own specific features. It would be great if it was possible to have a 'db' component allowing this. Adding db's to the form allows a dbgeneral component to list the available db's. This way, the footprint can be as low/high as needed. If there's an 'empty' ...
by aducom
07.12.2008, 22:45
Forum: ZeosLib 7.0 Beta Forum
Topic: TZSQLite3PlainDriver.Open
Replies: 3
Views: 517

As of version 3.2.5 unicode filenames are supported in SQLite. Therefore the code should not be altered imho. This might be different for D2009 though.
by aducom
10.10.2008, 15:06
Forum: 6.6 - stable
Topic: INSTALL problems with ZeosLib
Replies: 6
Views: 1044

Yes, but you need to delete all source, and bpl's from any directory to be able to re-install. But before you do, if it installes well, look into the components options. Is Zeos mentioned there? If it is, does it's checkbox being checked? If not then check it and all will be well.
by aducom
10.10.2008, 15:03
Forum: 6.6 - stable
Topic: Application is not licensed to use this feature
Replies: 2
Views: 915

Are you using a free Delphi edition. It looks to me that the db vcl is not licenced. Do you have the regular Delphi TQuery, TTable and TDatabase components in your component pallette?
by aducom
09.10.2008, 21:56
Forum: 6.6 - stable
Topic: Manually locate libmysql.dll?
Replies: 3
Views: 885

It would require a complete new design. Preferable DB components with a dll property connected to a master DB. This approach I had suggested ages ago. Advantage would be that if you only need MySQL, you could omit the others and thus have a smaller footprint. But it would require a lot of work.