Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] ZEOS and SQLite3
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
I get access violation wh...
by
Martin_fr
[
Today
at 02:41:23 pm]
Macos Sequoia Lazarus 3.8...
by
turunk
[
Today
at 02:32:56 pm]
Compile Error on Assign f...
by
turunk
[
Today
at 02:30:39 pm]
Cannot execute Lazarus ID...
by
maurobio
[
Today
at 02:00:14 pm]
Testing with SQLite3DataS...
by
paweld
[
Today
at 01:58:58 pm]
Reducing the saturation o...
by
MarkMLl
[
Today
at 01:53:51 pm]
Writing a TMemo widget fr...
by
Martin_fr
[
Today
at 01:05:29 pm]
Convert this Python code ...
by
ccrause
[
Today
at 12:22:55 pm]
Koi Fish Fractal Tree (Us...
by
Boleeman
[
Today
at 10:43:45 am]
[solved] macro for code ?
by
alpine
[
Today
at 09:00:25 am]
New shader examples for r...
by
ginoo
[
Today
at 08:59:23 am]
Old MoveJOH_PAS_3 move me...
by
Thaddy
[
Today
at 07:47:03 am]
Amoeba Animated: Another ...
by
Boleeman
[
Today
at 07:18:57 am]
Seeing CLOUDS: But outsid...
by
Boleeman
[
Today
at 05:25:31 am]
Colored Triangled Tunnel ...
by
Boleeman
[
Today
at 01:30:13 am]
Animated Spinning Cluster...
by
Boleeman
[
Today
at 01:05:40 am]
Does anyone have the idea...
by
WayneSherman
[
Today
at 12:58:19 am]
Newbie in Web Programming...
by
Renat.Su
[April 24, 2025, 10:58:31 pm]
Uppercase in Keypress
by
Bart
[April 24, 2025, 10:32:13 pm]
Lazarus on Linux but Targ...
by
Sakkie
[April 24, 2025, 09:42:30 pm]
Package Use – Install ra...
by
paule32
[April 24, 2025, 09:15:29 pm]
[solved] unable to change...
by
indydev
[April 24, 2025, 08:54:42 pm]
MVP made easier.
by
Hansvb
[April 24, 2025, 08:27:33 pm]
[SOLVED] WebP images and ...
by
circular
[April 24, 2025, 07:02:54 pm]
Memory leak on JSON array...
by
ldvmikro
[April 24, 2025, 04:46:13 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] ZEOS and SQLite3 (Read 3169 times)
dseligo
Hero Member
Posts: 1500
[SOLVED] ZEOS and SQLite3
«
on:
November 16, 2020, 02:33:02 am »
I am using ZEOS dbo and SQLite3.
Is there a way to get more specific error message when I have an error in SQL query (TZQuery)? I always get only this: "SQL Error: SQL logic error."
I use it on Windows, DLL is latest (3.33.0 version).
Thanks
«
Last Edit: November 21, 2020, 12:06:08 pm by dseligo
»
Logged
EgonHugeist
Jr. Member
Posts: 78
Re: ZEOS and SQLite3
«
Reply #1 on:
November 16, 2020, 08:57:14 pm »
If you're using the 7.2 series:
use: TZConnection.Properties['ExtendedErrorMessage'] := 'true';
If you're using the 8 series of
https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/8.0-patches/
: It's default.
Otherwise ... no there is no way.
Regards, Michael
Logged
dseligo
Hero Member
Posts: 1500
Re: ZEOS and SQLite3
«
Reply #2 on:
November 18, 2020, 11:02:44 pm »
I use 7.2.6 and it worked great, I just needed to modify it slightly to compile it:
zcSQliteConnection.Properties.Values['ExtendedErrorMessage']:='true';
Thank you.
«
Last Edit: November 18, 2020, 11:05:09 pm by dseligo
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Database
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] ZEOS and SQLite3
TinyPortal
© 2005-2018