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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Cirumvent the assignment ...
by
jamie
[
Today
at 01:06:31 am]
Setting up an ARM embedde...
by
Ruptor
[
Today
at 12:44:58 am]
Tedit control that adjust...
by
simsee
[
Today
at 12:36:13 am]
Compare two text lines an...
by
simone
[
Today
at 12:04:05 am]
Is there a Lazbuild compi...
by
Mark Paley
[July 12, 2025, 09:56:45 pm]
ChatGPT and ObjectPascal ...
by
Joanna
[July 12, 2025, 08:02:23 pm]
About Skia graphics engin...
by
aydın
[July 12, 2025, 07:58:51 pm]
problem by export and imp...
by
paule32
[July 12, 2025, 07:43:53 pm]
Searching for current wor...
by
Thaddy
[July 12, 2025, 07:22:28 pm]
Has anyone installed TeeB...
by
Thaddy
[July 12, 2025, 07:06:19 pm]
new private messages fly ...
by
Martin_fr
[July 12, 2025, 05:13:47 pm]
Fpcupdeluxe
by
DonAlfredo
[July 12, 2025, 04:45:54 pm]
[SOLVED] SQLite query to ...
by
DanishMale
[July 12, 2025, 04:37:24 pm]
Pulsating Radial Segments...
by
Boleeman
[July 12, 2025, 04:11:52 pm]
Object Pascal Playing Car...
by
marcov
[July 12, 2025, 02:53:25 pm]
Fast Canvas Library V1.05...
by
Gigatron
[July 12, 2025, 02:49:43 pm]
Trouchet Koch (Snowflake ...
by
Boleeman
[July 12, 2025, 02:34:31 pm]
Extended Module Player
by
Gigatron
[July 12, 2025, 02:27:09 pm]
controls.lpr(731,15) Erro...
by
Martin_fr
[July 12, 2025, 11:44:05 am]
Amigo programming languag...
by
paxscript
[July 12, 2025, 08:48:11 am]
[Solved]Garbled web page ...
by
PeterHu
[July 12, 2025, 08:34:38 am]
Rainbowed Rotating Square...
by
Boleeman
[July 12, 2025, 07:33:00 am]
[Solved]Retrieving wrong ...
by
PeterHu
[July 12, 2025, 03:19:47 am]
I read this somewhere... ...
by
1HuntnMan
[July 12, 2025, 12:06:28 am]
TCustomApplication.DoRun
by
cdbc
[July 11, 2025, 09:31:55 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] ZEOS and SQLite3 (Read 3215 times)
dseligo
Hero Member
Posts: 1532
[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: 1532
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